Forráskód Böngészése

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

YunaiV 10 hónapja
szülő
commit
80c51e677e

+ 2 - 1
src/components/bpmnProcessDesigner/package/penal/form/ElementForm.vue

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