提交 b44599fd 编写于 作者: yongbo.wang's avatar yongbo.wang

return this.$route.path.replace('/','');

上级 434acde3
...@@ -131,7 +131,8 @@ export default { ...@@ -131,7 +131,8 @@ export default {
}, },
computed: { computed: {
onRoutes() { onRoutes() {
return this.$route.path; // return this.$route.path;
return this.$route.path.replace('/','');
} }
}, },
created() { created() {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册