Commit 43997d2d by 刘泽奇

123

parent 671d5e2d
......@@ -75,10 +75,10 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
router.beforeEach((to, from, next) => {
if (to.path == "/" && location.hostname == "tm.plus.jdcloud.com") {
router.replace({ path: '/jd/jdtrademark' });
router.push({ path: '/jd/jdtrademark' });
}
if (to.path == "/" && location.hostname == "xwzc.xiaowangtech.com") {
router.replace({ path: '/bw/jdtrademark' });
router.push({ path: '/bw/jdtrademark' });
}
if (to.path.includes('login')) {
store.state.reqUrl = from.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