MaiXinRong 2 лет назад
Родитель
Сommit
e6c224661f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/service/stage.js

+ 1 - 1
app/service/stage.js

@@ -104,7 +104,7 @@ module.exports = app => {
                 if (!stage.readOnly) stage.assist = ass;
             }
             if (stage.readOnly) {
-                stage.assist = accountId === stage.user_id || auditorIds.indexOf(accountId) >= 0
+                stage.assist = accountId === stage.user_id || stage.auditorIds.indexOf(accountId) >= 0
                     ? null
                     : stage.assists.find(x => { return x.ass_user_id === accountId});
             }