Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
v_huyilin committed Dec 19, 2024
2 parents 1625235 + c4969b7 commit 60a4868
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/config/template/__test__/satisfaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('template satisfaction', async () => {
}
})

await wait()
await wait(100)

const satisfactionEl = wrapper.findAll('.Radio-satisfaction .el-radio__original')

Expand Down
6 changes: 3 additions & 3 deletions packages/form-design/Left/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
17 changes: 9 additions & 8 deletions packages/form-design/Right/AttrEdit/LinkageConfig/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
center
>
<div class="config-linkages">
<div class="quick">
<!-- <div class="quick">
<FormRender v-model="quickValues" :schema="quickSchema(designInstance.schema)" />
<el-button
v-if="quickValues.quick?.length"
Expand All @@ -17,7 +17,7 @@
type="primary"
>应用快速配置</el-button
>
</div>
</div> -->
<FormRender v-model="designInstance.current!" :schema="editSchema" class="edit" />
</div>
</el-dialog>
Expand Down Expand Up @@ -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%;
// }
}
</style>

0 comments on commit 60a4868

Please sign in to comment.