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: {} option: {}
}) })
const handleFormDetail = async (row: any) => { const handleFormDetail = async (row: any) => {
console.log(row) if (row.formType == BpmModelFormType.NORMAL) {
if (row.formType == 10) {
// //
const data = await FormApi.getForm(row.formId) const data = await FormApi.getForm(row.formId)
setConfAndFields2(formDetailPreview, data.conf, data.fields) setConfAndFields2(formDetailPreview, data.conf, data.fields)