fix: formTypr的类型改为枚举

This commit is contained in:
lizhixian 2025-02-13 14:15:40 +08:00
parent 253678a949
commit 4e3522a5da

View File

@ -472,9 +472,7 @@ const formDetailPreview = ref({
option: {}
})
const handleFormDetail = async (row: any) => {
console.log(row)
if (row.formType == 10) {
if (row.formType == BpmModelFormType.NORMAL) {
//
const data = await FormApi.getForm(row.formId)
setConfAndFields2(formDetailPreview, data.conf, data.fields)