Przeglądaj źródła

fix: 客服跳转问题

From-WH 2 lat temu
rodzic
commit
411ca7bfaa
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      template/admin/src/main.js

+ 3 - 3
template/admin/src/main.js

@@ -235,9 +235,9 @@ new Vue({
       // this.getMenus().then(menus => {
       // this.getMenus().then(menus => {
       // 处理手动清除db 跳转403问题
       // 处理手动清除db 跳转403问题
       if (!menus.length) {
       if (!menus.length) {
-        if (path !== '/admin/login') {
-          this.$router.replace('/admin/login');
-        }
+        // if (path !== '/admin/login') {
+        //   this.$router.replace('/admin/login');
+        // }
         return;
         return;
       }
       }
       // 在 404 时,是没有 headerName 的
       // 在 404 时,是没有 headerName 的