Commit 91ff4001 authored by zhaofei's avatar zhaofei

修改模版

parent e8efbc02
......@@ -30,9 +30,9 @@ Component({
tasks: {
<% for(var i = 0; i < activityConfigList.length; ++i) {%>
<%- taskKeys.includes(activityConfigList[i].key) && activityConfigList[i].key !== 'label' ? `${activityConfigList[i].key}:{
value:${activityConfigList[i].value},
taskRateType:${activityConfigList[i].taskRateType},
times:${activityConfigList[i].times}
value:${activityConfigList[i].value ? activityConfigList[i].value : 0},
taskRateType:TASK_RATE_TYPE.${activityConfigList[i].taskRateType},
times:${activityConfigList[i].times ? activityConfigList[i].times : 1}
},` : '' %><% } %>
},
// tasks: {
......
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