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

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

No files matched your search

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