MaiXinRong %!s(int64=3) %!d(string=hai) anos
pai
achega
9c8c9ec2d4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/stage_detail_att.js

+ 1 - 1
app/service/stage_detail_att.js

@@ -93,7 +93,7 @@ module.exports = app => {
             if (detailAtt) {
                 detailAtt && this._analysisDetailAtt(detailAtt);
                 for (const f of files) {
-                    detailAtt.attachment.push(f);
+                    detailAtt.attachment.unshift(f);
                 }
                 await this.db.update(this.tableName, { id: detailAtt.id, attachment: JSON.stringify(detailAtt.attachment) });
                 await this._complete4Output(detailAtt);