feat:【ele】【ant】bpm form 高度不正确的问题

This commit is contained in:
YunaiV
2025-10-20 22:55:27 +08:00
parent 337c695b1d
commit 7f031ee59e
2 changed files with 14 additions and 19 deletions

View File

@@ -138,11 +138,7 @@ onMounted(() => {
<FormModal @success="handleBack" /> <FormModal @success="handleBack" />
<Spin :spinning="loading"> <Spin :spinning="loading">
<FcDesigner <FcDesigner ref="designerRef" height="90vh" :config="designerConfig">
class="h-full min-h-[500px]"
ref="designerRef"
:config="designerConfig"
>
<template #handle> <template #handle>
<Button size="small" type="primary" @click="handleSave"> <Button size="small" type="primary" @click="handleSave">
<IconifyIcon icon="mdi:content-save" /> <IconifyIcon icon="mdi:content-save" />

View File

@@ -137,19 +137,18 @@ onMounted(() => {
<Page auto-content-height> <Page auto-content-height>
<FormModal @success="handleBack" /> <FormModal @success="handleBack" />
<div v-loading="loading"> <FcDesigner
<FcDesigner ref="designerRef"
class="h-full min-h-[500px]" height="90vh"
ref="designerRef" v-loading="loading"
:config="designerConfig" :config="designerConfig"
> >
<template #handle> <template #handle>
<ElButton size="small" type="primary" @click="handleSave"> <ElButton size="small" type="primary" @click="handleSave">
<IconifyIcon icon="mdi:content-save" /> <IconifyIcon icon="mdi:content-save" />
保存 保存
</ElButton> </ElButton>
</template> </template>
</FcDesigner> </FcDesigner>
</div>
</Page> </Page>
</template> </template>