Commit 3d92c9eb authored by zhaofei's avatar zhaofei

修改模板

parent 372a0105
......@@ -416,7 +416,7 @@ export default class ActivityConfigService {
formatPrizeConfig(prizeConfig: Array<IActivityPrize>) {
// level 根据level排序
let prizeList = prizeConfig.sort((a,b) => a.level - b.level)
const configList = <%-configList%>
const configList = JSON.stringify(<%-configList%>)
// prizeData = {
// <% for(var i = 0; i < configList.length; ++i) {%>
// <%- configList[i].sort == 'prizePool' && `${configList[i].key}:' prizeList.filter(item=> { return item.prizeDataType == ${configList[i].prizeDataType}})',` %><% } %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment