Skip to content

Commit 4e3522a

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/views/bpm/model/CategoryDraggableModel.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,7 @@ const formDetailPreview = ref({
472472
option: {}
473473
})
474474
const handleFormDetail = async (row: any) => {
475-
console.log(row)
476-
477-
if (row.formType == 10) {
475+
if (row.formType == BpmModelFormType.NORMAL) {
478476
// 设置表单
479477
const data = await FormApi.getForm(row.formId)
480478
setConfAndFields2(formDetailPreview, data.conf, data.fields)

0 commit comments

Comments
 (0)