提交 7aef0391 编写于 作者: Pan's avatar Pan

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

上级 ca46b222
......@@ -11,7 +11,7 @@ export default {
name: 'AppMain',
computed: {
key() {
return this.$route.fullPath
return this.$route.path
}
}
}
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或