1、流程模型 导入流程 修改流程 流程分类默认为null 显示为0 (现默认为1)
This commit is contained in:
parent
0e89416357
commit
26442c0abe
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
// 提交按钮
|
||||
|
Loading…
Reference in New Issue
Block a user