Sfoglia il codice sorgente

fix: 客服跳转问题

From-WH 2 anni fa
parent
commit
411ca7bfaa
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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 => {
       // 处理手动清除db 跳转403问题
       if (!menus.length) {
-        if (path !== '/admin/login') {
-          this.$router.replace('/admin/login');
-        }
+        // if (path !== '/admin/login') {
+        //   this.$router.replace('/admin/login');
+        // }
         return;
       }
       // 在 404 时,是没有 headerName 的