浏览代码

注释console

rongxin_prod
张泽亮 1年前
父节点
当前提交
81a2a99f1c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/permission.js

+ 2
- 2
src/permission.js 查看文件

@@ -213,9 +213,9 @@ router.beforeEach((to, from, next) => {
} }
} catch (e) { console.log(e); } } catch (e) { console.log(e); }
// Message.error(err) // Message.error(err)
if ('/authenticRight/index'.indexOf(to.path) !== -1) {
if ('/authenticRight'.indexOf(to.path) !== -1) {
next({ path: '/authenticRight/login' }) next({ path: '/authenticRight/login' })
} else if ('/homestead/index'.indexOf(to.path) !== -1) {
} else if ('/homestead'.indexOf(to.path) !== -1) {
next({ path: '/homestead/login' }) next({ path: '/homestead/login' })
} else if (to.path.indexOf('/onlineHome') !== -1) { } else if (to.path.indexOf('/onlineHome') !== -1) {
//next(`/onlineHomeLogin`) //next(`/onlineHomeLogin`)


正在加载...
取消
保存