소스 검색

fix: 修复无法登陆的bug

lanjianrong 5 년 전
부모
커밋
8df2e3b219
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      app/middleware/session_auth.js

+ 0 - 3
app/middleware/session_auth.js

@@ -42,9 +42,6 @@ module.exports = options => {
                 throw '系统维护中~';
             }
 
-            // 对sub_menu项目默认打开页进行配置
-            const record = yield this.service.settingShow.getDefaultPath();
-            this.curListUrl = record.path;
 
         } catch (error) {
             console.log(error);