fix:【BPM 工作流】修复 BPMN 设计器中,展示的表单选择,返显不正确 https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues/IC45Z8

(cherry picked from commit 80c51e677e2cadc25498552aac2b5f596ecf3070)
This commit is contained in:
YunaiV 2025-05-04 20:29:42 +08:00 committed by dengqichen
parent 561ad39c3b
commit 60f4782dd2

View File

@ -237,7 +237,7 @@ const props = defineProps({
const prefix = inject('prefix') const prefix = inject('prefix')
const width = inject('width') const width = inject('width')
const formKey = ref('') const formKey = ref(undefined)
const businessKey = ref('') const businessKey = ref('')
const optionModelTitle = ref('') const optionModelTitle = ref('')
const fieldList = ref<any[]>([]) const fieldList = ref<any[]>([])
@ -462,6 +462,7 @@ const updateElementExtensions = () => {
const formList = ref([]) // const formList = ref([]) //
onMounted(async () => { onMounted(async () => {
formList.value = await FormApi.getFormSimpleList() formList.value = await FormApi.getFormSimpleList()
formKey.value = parseInt(formKey.value)
}) })
watch( watch(