fix:运维可视化页面免登录

main
lizhichao 1 year ago
parent 0e1b83ee47
commit 4af2da6a69
  1. 6
      src/permission.js

@ -70,7 +70,11 @@ router.beforeEach((to, from, next) => {
if (meta.isAuth === false) { if (meta.isAuth === false) {
next() next()
} else { } else {
next('/login') if (to.path.indexOf('/opsVisualization/alarmProcess') == '-1') {
next('/login')
} else {
next()
}
} }
} }
}) })

Loading…
Cancel
Save