Commit 91ff4001 authored by zhaofei's avatar zhaofei

修改模版

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