diff --git a/src/iscs_new/core/form/builderFactory.js b/src/iscs_new/core/form/builderFactory.js index d0f07a669..61ab5880f 100644 --- a/src/iscs_new/core/form/builderFactory.js +++ b/src/iscs_new/core/form/builderFactory.js @@ -7,7 +7,9 @@ class BuilderFactory { getFormList() { const elementList = Object.values(elementConst); elementList.forEach(element=>{ - const temp = Object.assign({}, element); + const temp = {}; + temp.code = element.code; + temp.name = element.name; temp.formGroup = []; temp.model = {}; // 添加通用配置 diff --git a/src/iscs_new/core/form/parse.js b/src/iscs_new/core/form/parse.js deleted file mode 100644 index 6c7873f3c..000000000 --- a/src/iscs_new/core/form/parse.js +++ /dev/null @@ -1 +0,0 @@ -// export function coverse