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

This commit is contained in:
Pan 2019-05-27 17:01:11 +08:00
parent ca46b22204
commit 7aef039149
1 changed files with 1 additions and 1 deletions

View File

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