Commit 4bf9b12c by 李伟康

测试返回空白页

1 parent 174595a5
...@@ -34,8 +34,7 @@ function createRouter () { ...@@ -34,8 +34,7 @@ function createRouter () {
// http://scrm.dev.glsx.com.cn/dj-scrm-wx-work-main/ // http://scrm.dev.glsx.com.cn/dj-scrm-wx-work-main/
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
if (to.name != 'common.accountList') store.commit('SET_LAST_PATH', to.name) if (to.name != 'common.accountList') store.commit('SET_LAST_PATH', to.name)
// let mark = to.fullPath.indexOf('code') // if (to.fullPath.indexOf('code') !== -1 && from.fullPath === '/') {
// if (mark !== -1 && from.fullPath === '/') {
// wx.closeWindow() // wx.closeWindow()
// } // }
/* 路由发生变化修改页面title */ /* 路由发生变化修改页面title */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!