Commit 56807772 authored by zhaofei's avatar zhaofei

s

parent b2515171
......@@ -5,15 +5,15 @@ import { rankTableValidator, validateRangeNumber, rankTimeValidator, isNumber,va
export const descriptor = {
<% for(var i = 0; i < configList.length; ++i) {%>
<%- !taskKeys.includes(configList[i].key) && configList[i].validator ? configList[i].validator + ',' : '' %><% } %>
tasks: {
type: 'object',
required: false,
fields: {
<% for(var i = 0; i < configList.length; ++i) {%>
<%- taskKeys.includes(configList[i].key) && configList[i].validator ? configList[i].validator + ',' : '' %><% } %>
}
}
<%- configList[i].validator ? configList[i].validator + ',' : '' %><% } %>
// tasks: {
// type: 'object',
// required: false,
// fields: {
// <% for(var i = 0; i < configList.length; ++i) {%>
// <%- taskKeys.includes(configList[i].key) && configList[i].validator ? configList[i].validator + ',' : '' %><% } %>
// }
// }
}
......
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