MaiXinRong 1 년 전
부모
커밋
67403f8617
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/middleware/stage_check.js

+ 1 - 1
app/middleware/stage_check.js

@@ -101,7 +101,7 @@ module.exports = options => {
                 } else {
                     stage.curOrder = stage.curAuditors[0].order - 1;
                 }
-                stage.readOnly = stage.readOnly && this._.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
+                stage.readOnly = stage.readOnly && _.isEqual(stage.flowAuditorIds, stage.curAuditorIds);
             }
             if (stage.readOnly) {
                 stage.assist = accountId === stage.user_id || stage.auditorIds.indexOf(accountId) >= 0 ? null : stage.auditAssists.find(x => { return x.ass_user_id === accountId});