Skip to content

Commit a0b90bd

Browse files
committed
fix: formTypr的类型改为枚举
1 parent 4e3522a commit a0b90bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ onMounted(async () => {
168168
const bpmnModel = await getModel(props.modelId)
169169
if (bpmnModel) {
170170
formType.value = bpmnModel.formType
171-
if (formType.value === BpmModelFormType.CUSTOM && bpmnModel.formId) {
171+
if (formType.value === BpmModelFormType.NORMAL && bpmnModel.formId) {
172172
const bpmnForm = (await getForm(bpmnModel.formId)) as unknown as FormVO
173173
formFields.value = bpmnForm?.fields
174174
}

0 commit comments

Comments
 (0)