战力:获取显示数据
This commit is contained in:
@@ -306,7 +306,7 @@ export default class GMUsers extends Service {
|
||||
let list = heroes.map(cur => {
|
||||
let cal = new AttributeCal();
|
||||
cal.setByDbData(roleMap.get(cur.roleId), cur.attr);
|
||||
return {...cur, calculatedAttr: cal.getReduceAttributesToArr(), env: ctx.app.config.realEnv}
|
||||
return {...cur, calculatedAttr: cal.getAttributesToArr(), env: ctx.app.config.realEnv}
|
||||
})
|
||||
|
||||
return ctx.service.utils.resResult(STATUS.SUCCESS, { list, total })
|
||||
|
||||
Reference in New Issue
Block a user