We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2a6ba commit 483bf23Copy full SHA for 483bf23
src/components/SimpleProcessDesignerV2/src/SimpleProcessDesigner.vue
@@ -168,7 +168,8 @@ onMounted(async () => {
168
const bpmnModel = await getModel(props.modelId)
169
if (bpmnModel) {
170
formType.value = bpmnModel.formType
171
- if (formType.value === 10) {
+ //fix 解决修改时流程模型时formId为空报错问题
172
+ if (formType.value === 10 && bpmnModel.formId) {
173
const bpmnForm = (await getForm(bpmnModel.formId)) as unknown as FormVO
174
formFields.value = bpmnForm?.fields
175
}
0 commit comments