Commit 7aef0391 authored by Pan's avatar Pan

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

parent ca46b222
......@@ -11,7 +11,7 @@ export default {
name: 'AppMain',
computed: {
key() {
return this.$route.fullPath
return this.$route.path
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment