mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-05-12 17:51:11 +00:00
fix: formTypr的类型改为枚举
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user