diff --git a/packages/config/template/__test__/satisfaction.test.ts b/packages/config/template/__test__/satisfaction.test.ts index a4fd974..cf94b3c 100644 --- a/packages/config/template/__test__/satisfaction.test.ts +++ b/packages/config/template/__test__/satisfaction.test.ts @@ -14,7 +14,7 @@ describe('template satisfaction', async () => { } }) - await wait() + await wait(100) const satisfactionEl = wrapper.findAll('.Radio-satisfaction .el-radio__original') diff --git a/packages/form-design/Left/index.vue b/packages/form-design/Left/index.vue index 6bcec7d..5baef47 100644 --- a/packages/form-design/Left/index.vue +++ b/packages/form-design/Left/index.vue @@ -88,9 +88,9 @@ const onClone = (source: FormElement) => { name: `form-${getRandomId(4)}` } - // if (source.type === 'layout' || source.attrSchema.initialValues?.children) { - // parse.children = [] - // } + if (source.type === 'layout') { + parse.children = [] + } return parse } diff --git a/packages/form-design/Right/AttrEdit/LinkageConfig/Config.vue b/packages/form-design/Right/AttrEdit/LinkageConfig/Config.vue index 0f7099b..824f51b 100644 --- a/packages/form-design/Right/AttrEdit/LinkageConfig/Config.vue +++ b/packages/form-design/Right/AttrEdit/LinkageConfig/Config.vue @@ -8,7 +8,7 @@ center >
-
+
@@ -87,11 +87,12 @@ const handleUseQuick = () => { .config-linkages { display: flex; gap: 20px; - .quick { - width: 50%; - } - .edit { - width: 50%; - } + flex-direction: column + // .quick { + // width: 50%; + // } + // .edit { + // width: 50%; + // } }