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

this.$route.path

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