Commit 31473c24 by 刘泽奇

123

parent d5708ad6
......@@ -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") {
location.href= 'https://tm.plus.jdcloud.com/jd/jdtrademark'
location.href= 'https://tm.plus.jdcloud.com/#/jd/jdtrademark'
}
if (to.path == "/" && location.hostname == "xwzc.xiaowangtech.com") {
location.href= 'http://xwzc.xiaowangtech.com/bw/jdtrademark'
location.href= 'http://xwzc.xiaowangtech.com/#/bw/jdtrademark'
// router.replace({ path: '/bw/jdtrademark' });
}
if (to.path.includes('login')) {
......
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