Commit 74221579 authored by 杨梦雅's avatar 杨梦雅

任务配置

parent 97b155f9
......@@ -21,11 +21,12 @@ 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:"",
taskRateType:"",
times:"",
title:"",
link:""
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