Commit 64c620fb authored by zhaofei's avatar zhaofei

修改模板

parent b6ebbf4f
......@@ -421,12 +421,14 @@ export default class ActivityConfigService {
<%- configList[i].sort == 'prizePool' && `${configList[i].key}:' prizeList.filter(item=> { return item.prizeDataType == ${configList[i].prizeDataType}})',` %><% } %>
}
<% for(var i = 0; i < configList.length; ++i) {%>
<% if(configList[i].conditionKeys && configList[i].conditionKeys.length) {%>
<% for(var j = 0; j < configList[i].conditionKeys.length; ++j) {%>
<%-`
prizeData['${configList[i].key}'].filter(item=> return item['${ configList[i].conditionKeys[j].key}' == ${configList[i].conditionKeys[j].value}])
`%>
<% } %>
<% } %>
<% } %>
return prizeData
}
......
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