1、流程模型 导入流程 修改流程 流程分类默认为null 显示为0 (现默认为1)

This commit is contained in:
gexinzhineng/gxzn27 2023-02-28 17:54:37 +08:00
parent 0e89416357
commit 26442c0abe

View File

@ -433,7 +433,11 @@ const handleUpdate = async (rowId: number) => {
await setDialogTile('edit')
//
saveForm.value = await ModelApi.getModelApi(rowId)
saveForm.value.category = Number(saveForm.value.category)
if (saveForm.value.category == null) {
saveForm.value.category = 1
} else {
saveForm.value.category = Number(saveForm.value.category)
}
}
//