|
@@ -586,7 +586,7 @@ module.exports = app => {
|
|
|
c.type = types.join(';');
|
|
|
c.class = this._getChangeConstName(changeConst.class, c.class);
|
|
|
c.quality = this._getChangeConstName(changeConst.quality, c.quality);
|
|
|
- c.charge = this._getChangeConstName(changeConst.type, c.charge);
|
|
|
+ c.charge = this._getChangeConstName(changeConst.charge, c.charge);
|
|
|
c.attachments = await ctx.service.changeAtt.getChangeAttachment(c.cid);
|
|
|
const names = ctx.helper._.map(c.attachments, function (x) {
|
|
|
return x.filename + x.fileext;
|