Преглед на файлове

注释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); }
// Message.error(err)
if ('/authenticRight/index'.indexOf(to.path) !== -1) {
if ('/authenticRight'.indexOf(to.path) !== -1) {
next({ path: '/authenticRight/login' })
} else if ('/homestead/index'.indexOf(to.path) !== -1) {
} else if ('/homestead'.indexOf(to.path) !== -1) {
next({ path: '/homestead/login' })
} else if (to.path.indexOf('/onlineHome') !== -1) {
//next(`/onlineHomeLogin`)


Зареждане…
Отказ
Запис