Commit ebe9c651 authored by zhaofei's avatar zhaofei

修改模版

parent 4a5d0f18
......@@ -26,7 +26,7 @@ Component({
startTime: '',
endTime: '',
<% for(var i = 0; i < activityConfigList.length; ++i) {%>
<%- !taskTypes.includes(activityConfigList[i].type) && configList[i].type !== 'label' ? `${activityConfigList[i].key}: ${activityConfigList[i].defaultValue || "''"},` : '' %><% } %>
<%- !taskTypes.includes(activityConfigList[i].type) && activityConfigList[i].type !== 'label' ? `${activityConfigList[i].key}: ${activityConfigList[i].defaultValue || "''"},` : '' %><% } %>
task:{
<% for(var i = 0; i < activityConfigList.length; ++i) {%>
<%- taskTypes.includes(activityConfigList[i].type) ? `${activityConfigList[i].key}: ${activityConfigList[i] || "{}"},` : {} %><% } %>
......
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