mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
fix(cli): failed to watch route change
This commit is contained in:
@@ -51,8 +51,7 @@ export default {
|
||||
},
|
||||
|
||||
watch: {
|
||||
// eslint-disable-next-line object-shorthand
|
||||
'$route.path'() {
|
||||
$route() {
|
||||
this.setNav();
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user