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