Commit d5708ad6 by 刘泽奇

123

parent 3aaa5c0d
...@@ -75,10 +75,11 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -75,10 +75,11 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
if (to.path == "/" && location.hostname == "tm.plus.jdcloud.com") { if (to.path == "/" && location.hostname == "tm.plus.jdcloud.com") {
router.push({ path: '/jd/jdtrademark' }); location.href= 'https://tm.plus.jdcloud.com/jd/jdtrademark'
} }
if (to.path == "/" && location.hostname == "xwzc.xiaowangtech.com") { if (to.path == "/" && location.hostname == "xwzc.xiaowangtech.com") {
router.push({ path: '/bw/jdtrademark' }); location.href= 'http://xwzc.xiaowangtech.com/bw/jdtrademark'
// router.replace({ path: '/bw/jdtrademark' });
} }
if (to.path.includes('login')) { if (to.path.includes('login')) {
store.state.reqUrl = from.path; store.state.reqUrl = from.path;
...@@ -189,7 +190,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -189,7 +190,7 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
}, },
mounted() { mounted() {
this.$nextTick(()=>{ this.$nextTick(() => {
this.handleHeader(); this.handleHeader();
}); });
console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv"); console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv");
......
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