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

This commit is contained in:
YunaiV
2025-05-04 20:29:42 +08:00
parent a0dcef4960
commit 80c51e677e

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(