Commit 17d6d2d3 by 刘泽奇

123

parent 6d3121c5
......@@ -74,6 +74,13 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
});
router.beforeEach((to, from, next) => {
console.log(from, "vvvvvvvvvvvvvvvvvvvvvvvvv");
console.log(to, "vvvvvvvvvvvvvvvvvvvvvvvvv");
console.log(router, location.hostname);
if (to.path == "/" && location.hostname == "tm.plus.jdcloud.com") {
router.replace({ path: '/jd/jdtrademark' });
}
next();
});
Vue.use(window['vue-cropper']);
......
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