MaiXinRong 2 years ago
parent
commit
11511e37ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/middleware/stage_check.js

+ 1 - 1
app/middleware/stage_check.js

@@ -86,7 +86,7 @@ module.exports = options => {
             } else {
                 const ass = stage.auditAssists.find(x => { return x.user_id === stage.curAuditor.aid && x.ass_user_id === accountId; });
                 stage.readOnly = stage.curAuditor.aid !== accountId && !ass;
-                if (stage.readOnly) stage.assist = ass;
+                if (!stage.readOnly) stage.assist = ass;
             }
             if (stage.readOnly) {
                 stage.assist = accountId === stage.user_id || auditorIds.indexOf(accountId) >= 0 ? null : auditAssists.find(x => { return x.ass_user_id === accountId});