Commit 9e2963fa authored by 杨梦雅's avatar 杨梦雅

任务配置

parent 74221579
......@@ -21,10 +21,10 @@ var validator = new schema(descriptor)
const tasks = {
<% for(var i = 0; i < configList.length; ++i) {%>
<%- taskKeys.includes(configList[i].key) && configList[i].key !== 'label' ? `${configList[i].key}:{
value:${configList[i].value || ''},
taskRateType:"${configList[i].taskRateType ? TASK_RATE_TYPE[configList[i].taskRateType]: ''}
times:${configList[i].times || ''},
title:${configList[i].title || ''},
value:${configList[i].value || '""'},
taskRateType:${configList[i].taskRateType ? TASK_RATE_TYPE[configList[i].taskRateType]: '""'}
times:${configList[i].times || '""'},
title:${configList[i].title || '""'},
link:"",
itemIds:""
},` : '' %><% } %>
......
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