We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e89416 commit 26442c0Copy full SHA for 26442c0
src/views/bpm/model/index.vue
@@ -433,7 +433,11 @@ const handleUpdate = async (rowId: number) => {
433
await setDialogTile('edit')
434
// 设置数据
435
saveForm.value = await ModelApi.getModelApi(rowId)
436
- saveForm.value.category = Number(saveForm.value.category)
+ if (saveForm.value.category == null) {
437
+ saveForm.value.category = 1
438
+ } else {
439
+ saveForm.value.category = Number(saveForm.value.category)
440
+ }
441
}
442
443
// 提交按钮
0 commit comments