MaiXinRong 4 năm trước cách đây
mục cha
commit
618db4c7a6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/stage_detail.js

+ 1 - 1
app/service/stage_detail.js

@@ -135,7 +135,7 @@ module.exports = app => {
                     await this.db.update(this.tableName, newData);
                     return newData;
                 } else {
-                    const nd = this._.assign(od, d);
+                    const nd = this._.assign(org, data);
                     delete nd.id;
                     await this.db.insert(this.tableName, data);
                     return data;