Commit bd7b3f02 by fengzhaoyu

更新

parents 16fe5a26 40155626
...@@ -52,14 +52,6 @@ router.beforeEach(function (to, from, next) { ...@@ -52,14 +52,6 @@ router.beforeEach(function (to, from, next) {
localStorage.clear() localStorage.clear()
localStorage.setItem('orgId', to.redirectedFrom.substr(1)) localStorage.setItem('orgId', to.redirectedFrom.substr(1))
} }
// config.ddconfig().then((res) => {
// if (res === 'no') {
// next({ name: 'configError' })
// }
// }).then(() => {
// }).catch((err) => {
// console.log(err, '登录失败')
// })
config.ddready('ddpermission').then((res) => { config.ddready('ddpermission').then((res) => {
if (res === 'noPermission') { if (res === 'noPermission') {
next({ name: 'noPermission' }) next({ name: 'noPermission' })
......
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