Commit 4581f7f2 authored by 秦海涛's avatar 秦海涛

update

parent 59de6737
...@@ -5,13 +5,13 @@ import { rankTableValidator } from "../../../utils/validate"; ...@@ -5,13 +5,13 @@ import { rankTableValidator } from "../../../utils/validate";
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 + ',' : '' %><% } %> <%- !taskKeys.includes(configList[i].key) && configList[i].validator ? configList[i].validator + ',' : '' %><% } %>
taskMap: { taskMap: {
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 + ',' : '' %><% } %> <%- 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