Commit d5708ad6 by 刘泽奇

123

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