소스 검색

管理分类,目录相关

MaiXinRong 5 달 전
부모
커밋
bcdaa1ba37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/base/base_controller.js

+ 1 - 1
app/base/base_controller.js

@@ -36,7 +36,7 @@ class BaseController extends Controller {
             }
         }
         if (ctx.controllerName === 'sp') {
-            if (ctx.url.indexOf('file') > 0) {
+            if (ctx.url.indexOf('file') > 0 || ctx.url.indexOf('fm')) {
                 ctx.menu = menuList.file;
             } else {
                 ctx.menu = menuList.budget;