修复bug

This commit is contained in:
Jerry
2024-08-16 18:32:03 +08:00
parent 8cb2a391b1
commit d030d84a30
4 changed files with 9 additions and 15 deletions

View File

@@ -899,6 +899,7 @@ const onBindFormTypeChange = () => {
// 流程绑定表单页面改变
const onEntryPageChange = () => {
formFlowEntryData.value.defaultFormId = undefined;
defaultFormIdWidget.setDirty(true);
entryDatasource = null;
};
const getFormShareInfo = (form: ANY_OBJECT) => {

View File

@@ -130,19 +130,16 @@ interface IProps extends ThirdProps {
dialog?: DialogProp<ANY_OBJECT>;
}
const props = withDefaults(defineProps<IProps>(), {
flowEntry: () => {
return {};
},
flowEntry: undefined,
});
const { thirdParams } = useThirdParty(props);
const formItemSize = computed(() => {
return layoutStore.defaultFormItemSize || thirdParams.value.defaultFormItemSize?.value;
});
const entryXml = ref<string>();
const dialogParams = computed(() => {
return {
flowEntry: props.flowEntry || thirdParams.value.flowEntry,
flowEntry: props.flowEntry || thirdParams.value.flowEntry || {},
};
});
/**