Commit a78aca65 by 刘泽奇

123

parent 7781a12e
...@@ -183,7 +183,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -183,7 +183,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
// 返回当前接入渠道标识 // 返回当前接入渠道标识
getChannelPath() { getChannelPath() {
var from = this.$route.path; var from = this.$route.path;
var path = from.match(/\/(\S*)\//)[1]; var path = from.split('/')[1];
console.log(path);
this.$root.channelPath = path; this.$root.channelPath = path;
return path; return 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