mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:修复在线表单编辑渲染的bug
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
>{{ getOperation(SysCustomWidgetOperationType.ADD).name || '新建' }}</el-button
|
>{{ getOperation(SysCustomWidgetOperationType.ADD).name || '新建' }}</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
<vxe-column v-if="hasBatchOperation && !form().readOnly" type="checkbox" :width="40" />
|
<vxe-column v-if="hasBatchOperation && !form().readOnly" type="checkbox" :width="50" />
|
||||||
<vxe-column v-if="singleSelect" type="radio" align="center" :width="50" />
|
<vxe-column v-if="singleSelect" type="radio" align="center" :width="50" />
|
||||||
<vxe-column v-if="tableColumnList.length > 0" type="seq" title="序号" :width="50" />
|
<vxe-column v-if="tableColumnList.length > 0" type="seq" title="序号" :width="50" />
|
||||||
<template v-for="tableColumn in tableColumnList" :key="tableColumn.column?.columnId">
|
<template v-for="tableColumn in tableColumnList" :key="tableColumn.column?.columnId">
|
||||||
|
|||||||
@@ -52,8 +52,10 @@ export const useForm = (props: ANY_OBJECT, formRef: Ref<FormInstance> | null = n
|
|||||||
|
|
||||||
const form = computed(() => {
|
const form = computed(() => {
|
||||||
buildFormConfig(dialogParams.value.formConfig);
|
buildFormConfig(dialogParams.value.formConfig);
|
||||||
|
if (!dialogParams.value.isEdit) {
|
||||||
initPage();
|
initPage();
|
||||||
initFormWidgetList();
|
initFormWidgetList();
|
||||||
|
}
|
||||||
return dialogParams.value.formConfig;
|
return dialogParams.value.formConfig;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user