Commit 689482dd authored by XieZhiXiong's avatar XieZhiXiong

删除项

parent aa289c21
......@@ -101,8 +101,8 @@ const getXComponentProps = (type, item) => {
const getCompnentValue = (elements: any) => {
const components = {};
for (let item of elements) {
for (let item of elements) {
// 先判断是否存在 type,防止不存在的 type 报错
const realType = FIELD_TYPE_MAP[item.fieldType];
if (realType) {
......@@ -155,7 +155,6 @@ export const initDetailSchema = (props: any) => {
'x-component': 'Tab',
'x-component-props': {
type: 'card',
hiddenKeys: ['tab-2'],
},
...tabSchema,
},
......
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