Commit 4c37d9c7 by 刘泽奇

123

parent 31473c24
......@@ -75,11 +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'
router.replace({ path: '/jd/jdtrademark' });
}
if (to.path == "/" && location.hostname == "xwzc.xiaowangtech.com") {
location.href= 'http://xwzc.xiaowangtech.com/#/bw/jdtrademark'
// router.replace({ path: '/bw/jdtrademark' });
router.replace({ path: '/bw/jdtrademark' });
}
if (to.path.includes('login')) {
store.state.reqUrl = from.path;
......@@ -87,6 +86,15 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
}
next();
});
router.afterEach((to, from) => {
if (to.path == "/bw/jdtrademark") {
var title = document.getElementById('idtitle').innerText;
console.log('sssssssssssssssssssssss1', title)
if (title == "启服通") {
location.reload();
}
}
})
Vue.use(window['vue-cropper']);
var app = new Vue({
el: "#app",
......@@ -226,7 +234,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
title.innerText = "百望商标注册服务";
this.logoImg = '/imgs/bwlogo.png';
this.homeUrl = "/bw/jdtrademark";
break;
case '1688':
title.innerText = "1688商标注册服务";
......
......@@ -126,7 +126,6 @@
},
mounted: function() {
this.$root.loading = true;
this.getChannerBanner();
var obj = this.$root.copyParams({ channelUserId: "", itemCode: "sbfu" }, "getProductListByTypeOneCode", "/action/tmOrder/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((d) => {
......
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