MaiXinRong %!s(int64=4) %!d(string=hai) anos
pai
achega
618db4c7a6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;