fix: 🐛 修复因接口调整而影响的调用页面的问题

This commit is contained in:
hxr
2024-05-04 13:15:06 +08:00
parent 088bc5e48f
commit 425841ad45
6 changed files with 13 additions and 14 deletions

View File

@@ -254,7 +254,7 @@ function handleSubmit() {
})
.finally(() => (loading.value = false));
} else {
DeptAPI.update(formData)
DeptAPI.add(formData)
.then(() => {
ElMessage.success("新增成功");
closeDialog();