perf: use $route.path to the router-view key

master
Pan 6 years ago
parent ca46b22204
commit 7aef039149

@ -11,7 +11,7 @@ export default {
name: 'AppMain',
computed: {
key() {
return this.$route.fullPath
return this.$route.path
}
}
}

Loading…
Cancel
Save