Commit 56807772 authored by zhaofei's avatar zhaofei

s

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