소스 검색

CostApproval

zhuangyunsheng 1 년 전
부모
커밋
0ded8a9e10
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -62,7 +62,7 @@ router.beforeEach(async (to, from, next) => {
                 applySql = `create_id = ${id}`;
                 if (projectIds) applySql += ` or project_id in (${projectIds})`;
             }
-            applySql && this.$TOOL.data.set("APPLY_SQL", applySql);
+            applySql && tool.data.set("APPLY_SQL", applySql);
         }
 
         next(to.query.path && to.fullPath.replace("/redirect", to.query.path) || (from.fullPath == "/login" && "/" || from.fullPath));