MaiXinRong 2 роки тому
батько
коміт
4ca8b9a4e2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      app/service/material.js

+ 1 - 1
app/service/material.js

@@ -76,7 +76,7 @@ module.exports = app => {
             if (this.ctx.session.sessionUser.accountId === this.ctx.material.user_id) {
                 this.ctx.material.curTimes = this.ctx.material.times;
             } else {
-                this.ctx.material.curTimes = this.ctx.material.status === status.checkNo ? this.ctx.material.times - 1 : this.ctx.material.times;
+                this.ctx.material.curTimes = this.ctx.material.status === auditConst.status.checkNo ? this.ctx.material.times - 1 : this.ctx.material.times;
             }
         }