Browse Source

bug修复

laiguoran 3 năm trước cách đây
mục cha
commit
2ae562becf
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/service/change.js

+ 1 - 0
app/service/change.js

@@ -122,6 +122,7 @@ module.exports = app => {
                         const qualityIndex = planInfo.quality && this._.indexOf(changeConst.qualityName, planInfo.quality) !== -1 ? this._.indexOf(changeConst.qualityName, planInfo.quality) : 0;
                         change.quality = qualityIndex ? qualityIndex : changeConst.quality.common.value;
                         change.content = planInfo.reason + '\r\n' + planInfo.content;
+                    }
                 }
                 const operate = await this.transaction.insert(this.tableName, change);