Commit 80c51e67 by YunaiV

fix:【BPM 工作流】修复 BPMN 设计器中,展示的表单选择,返显不正确…

fix:【BPM 工作流】修复 BPMN 设计器中,展示的表单选择,返显不正确 https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues/IC45Z8
parent a0dcef49
...@@ -237,7 +237,7 @@ const props = defineProps({ ...@@ -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 = () => { ...@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment