Commit 5c1bd5cd authored by 石盼盼's avatar 石盼盼

添加role为4超管身份

parent 8f6bde8b
...@@ -114,7 +114,7 @@ router.beforeEach((to, from, next) => { ...@@ -114,7 +114,7 @@ router.beforeEach((to, from, next) => {
} }
if (token && status === '200') { if (token && status === '200') {
console.log('ok-------1', 200) console.log('ok-------1', 200)
if (role == 2) { if (role == 2 || role == 4) { // 2审核员身份 4超管身份
setTimeout(() => { setTimeout(() => {
next({ next({
path: '/admin_home' path: '/admin_home'
......
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