Commit ff4bb0d0 authored by zhaofei's avatar zhaofei

修改模版

parent e98c3eb9
...@@ -217,7 +217,7 @@ Component({ ...@@ -217,7 +217,7 @@ Component({
} = params; } = params;
let prizeList = [] let prizeList = []
<% for(var i = 0; i < activityConfigList.length; ++i) {%> <% for(var i = 0; i < activityConfigList.length; ++i) {%>
<%- !taskKeys.includes(activityConfigList[i].key) && activityConfigList[i].sort == 'prizePool' && `prizeList = [...prizeList,...${activityConfigList[i].key}]` %><% } %> <%- (!taskKeys.includes(activityConfigList[i].key) && activityConfigList[i].sort == 'prizePool') && `prizeList = [...prizeList,...${activityConfigList[i].key}]` %><% } %>
return { return {
id, id,
activityId, activityId,
...@@ -227,7 +227,7 @@ Component({ ...@@ -227,7 +227,7 @@ Component({
prizeList, prizeList,
// prizeInfoList: this.formatPrizeList(prizeInfoList), // prizeInfoList: this.formatPrizeList(prizeInfoList),
<% for(var i = 0; i < activityConfigList.length; ++i) {%> <% for(var i = 0; i < activityConfigList.length; ++i) {%>
<%- !taskKeys.includes(activityConfigList[i].key) && (activityConfigList[i].key !== 'label' && activityConfigList[i].sort != 'prizePool') ? activityConfigList[i].key + ',' : '' %><% } %> <%- (!taskKeys.includes(activityConfigList[i].key) && activityConfigList[i].key !== 'label' && activityConfigList[i].sort != 'prizePool') ? activityConfigList[i].key + ',' : '' %><% } %>
} }
}, },
// 补足谢谢参与类型 // 补足谢谢参与类型
......
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