This website works better with JavaScript
首頁
探索
說明
註冊
登入
xiaojincai
/
yfadmin_web
關註
1
讚好
0
複刻
0
Files
問題管理
0
合併請求
0
Wiki
目錄樹:
3e25238feb
分支列表
標籤列表
dev
master
yfadmin_web
/
node_modules
/
_vue-router@3.1.6@vue-router
/
CHANGELOG.md
CHANGELOG.md
13 KB
文件歷史
原始文件
3.1.6
(2020-02-26)
Bug Fixes
preserve history state when reloading (
a4ec3e2
)
ts:
add null to Route.name (
#3117
) (
8f831f2
)
correctly calculate
path
when
pathMatch
is empty string (
#3111
) (
38e6ccd
), closes
#3106
3.1.5
(2020-01-15)
Bug Fixes
view:
add passing props to inactive component (
#2773
) (
0fb1343
), closes
#2301
view:
fix deeply nested keep-alive router-views displaying (
#2930
) (
0c2b1aa
), closes
#2923
3.1.4
(2020-01-14)
Bug Fixes
suppress warning if
pathMatch
is empty (
#3081
) (
ddc6bc7
), closes
#3072
link:
correctly warn wrong v-slot usage (
a150291
), closes
#3091
location:
add a copy for params with named locations (
#2802
) (
2b39f5a
), closes
#2800
#2938
#2938
Features
history:
preserve existing history.state (
c0d3376
), closes
#3006
3.1.3
(2019-08-30)
Bug Fixes
link:
merge event listeners when provided in an anchor (
e0d4dc4
), closes
#2890
Features
errors:
add stack trace to NavigationDuplicated (
5ef5d73
), closes
#2881
warn about root paths without a leading slash (
#2591
) (
7d7e048
), closes
#2550
#2550
3.1.2
(2019-08-08)
Bug Fixes
types:
prioritize promise based push/replace (
1243e8b
)
Reverts
"fix(hash): correctly place query if placed before hash (
#2851
)" (
9b30e4c
), closes
#2876
. See more information at
https://github.com/vuejs/vue-router/issues/2125#issuecomment-519521424
3.1.1
(2019-08-06)
Bug Fixes
link:
silence back navigations errors (
59b6da3
)
3.1.0
(2019-08-06)
Bug Fixes
abstract history:
allow router.back in abstract mode when 2 consecutive same routes appear in history stack (
#2771
) (
8910979
), closes
#2607
hash:
correctly place query if placed before hash (
#2851
) (
b7715dc
), closes
#2125
#2262
link:
Fix active links when parent link redirects to child (
#2772
) (
64785a9
), closes
#2724
adapt error to work on IE9 (
527d6d5
)
Features
alias:
warn against redundant aliases (
04a02c0
), closes
#2461
#2462
scroll:
handle id selectors starting with a number (
799ceca
), closes
#2163
return a promise with push and replace (
#2862
) (
d907a13
), closes
#1769
#1769
scoped slot for link (
e289dde
)
warn the user for invalid uses of v-slot with Link (
44c63a9
)
3.0.7
(2019-07-03)
Bug Fixes
apps loaded from Windows file shares not mapped to network drives (
#2774
) (
c2c78a3
)
make callback of next in beforeRouterEnter more consistent (
#2738
) (
8ac478f
), closes
#2761
#2728
3.0.6
(2019-04-17)
Bug Fixes
revert
#2713
(
#2723
) (
ec6eab7
), closes
#2719
3.0.5
(2019-04-15)
Bug Fixes
push before creating Vue instance (
#2713
) (
6974a6f
), closes
#2712
router-view:
add condition to see whether the tree is inactive (fix
#2552
) (
#2592
) (
e6d8fd2
)
router-view:
register instance in init hook (
c3abdf6
), closes
#2561
#2689
#2561
#2561
3.0.4
(2019-04-12)
Bug Fixes
prevent memory leaks by removing app references (
#2706
) (
8056105
), closes
#2639
hash:
prevent double decoding (
#2711
) (
a775fb1
), closes
#2708
Features
esm build:
build ES modules for browser (
#2705
) (
627027f
)
3.0.3
(2019-04-08)
Bug Fixes
removes warning resolving asterisk routes (
e224637
), closes
#2505
#2505
normalizeLocation:
create a copy with named locations (
#2286
) (
53cce99
), closes
#2121
resolve:
use current location if not provided (
#2390
) (
7ff4de4
), closes
#2385
types:
allow null/undefined in query params (
ca30a75
), closes
#2605
3.0.2
(2018-11-23)
Bug Fixes
errors:
throws with invalid route objects (
#1893
) (
c837666
)
fix the test in async.spec.js (
#1953
) (
4e9e66b
)
initial url path for non ascii urls (
#2375
) (
c3b0a33
)
only setupScroll when support pushState due to possible fallback: false (
#1835
) (
fac60f6
), closes
#1834
workaround replaceState bug in Safari (
#2295
) (
3c7d8ab
), closes
#2195
hash:
support unicode in initial route (
8369c6b
)
history-mode:
correcting indentation in web.config example (
#1948
) (
4b071f9
)
match:
use pathMatch for the param of * routes (
#1995
) (
ca1fccd
), closes
#1994
Features
call scrollBehavior with app context (
#1804
) (
c93a734
)
3.0.1
(2017-10-13)
Bug Fixes
fix props-passing regression (
02ff792
), closes
#1800
3.0.0
(2017-10-11)
Features
typings:
adapt to the new Vue typings (
#1685
) (
8855e36
)
BREAKING CHANGES
typings:
It is no longer compatible with the old Vue typings
2.8.0
(2017-10-11)
Bug Fixes
allow insllation on extended Vue copies (
f62c5d6
)
avoid first popstate event with async guard together (fix
#1508
) (
#1661
) (
3cbc0f3
)
deep clone query when creating routes (
effb114
), closes
#1690
fix scroll when going back to initial route (
#1586
) (
c166822
)
handle null values when comparing objects (
#1568
) (
4e95bd8
), closes
#1566
resolve native ES modules (
8a28426
)
send props not defined on the route component in \$attrs. Fixes
#1695
. (
#1702
) (
a722b6a
)
Features
enhance hashHistory to support scrollBehavior (
#1662
) (
1422eb5
)
scrollBehavior accept returning a promise (
#1758
) (
ce13b55
)
2.7.0
(2017-06-29)
Features
auto resolve ES module default when resolving async components (
d539788
)