mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): failed to watch route change
This commit is contained in:
parent
19b531b9ee
commit
0761e36813
@ -50,7 +50,7 @@
|
||||
"@types/jest": "^25.2.3",
|
||||
"@types/webpack": "^4.41.13",
|
||||
"@types/webpack-dev-server": "^3.11.0",
|
||||
"@vant/eslint-config": "^3.0.0-alpha.0",
|
||||
"@vant/eslint-config": "^3.0.0-alpha.1",
|
||||
"@vant/markdown-loader": "^3.0.0-alpha.0",
|
||||
"@vant/markdown-vetur": "^2.0.1",
|
||||
"@vant/stylelint-config": "^1.3.0",
|
||||
|
@ -51,8 +51,7 @@ export default {
|
||||
},
|
||||
|
||||
watch: {
|
||||
// eslint-disable-next-line object-shorthand
|
||||
'$route.path'() {
|
||||
$route() {
|
||||
this.setNav();
|
||||
},
|
||||
},
|
||||
|
@ -2092,10 +2092,10 @@
|
||||
dependencies:
|
||||
eslint-visitor-keys "^1.1.0"
|
||||
|
||||
"@vant/eslint-config@^3.0.0-alpha.0":
|
||||
version "3.0.0-alpha.0"
|
||||
resolved "https://registry.npmjs.org/@vant/eslint-config/-/eslint-config-3.0.0-alpha.0.tgz#e831eb528da0c2682e2cc42bb5f9eeff3cd9e1bb"
|
||||
integrity sha512-DUfm3ZQ+0N/fIk1AgMUrXyC7ITvwCGvFKWbrOr3/uXAE6l9adCFFWIeCNFAu+mvT87JjGmOKDCaY/MhbWgKRGg==
|
||||
"@vant/eslint-config@^3.0.0-alpha.1":
|
||||
version "3.0.0-alpha.1"
|
||||
resolved "https://registry.npm.taobao.org/@vant/eslint-config/download/@vant/eslint-config-3.0.0-alpha.1.tgz#4fd59e5a214bc1cb0dbff7053116bc97d572d8da"
|
||||
integrity sha1-T9WeWiFLwcsNv/cFMRa8l9Vy2No=
|
||||
dependencies:
|
||||
"@typescript-eslint/eslint-plugin" "^3.9.1"
|
||||
"@typescript-eslint/parser" "^3.9.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user