fix: 🐛 修复因接口调整而影响的调用页面的问题
This commit is contained in:
@@ -254,7 +254,7 @@ function handleSubmit() {
|
||||
})
|
||||
.finally(() => (loading.value = false));
|
||||
} else {
|
||||
DeptAPI.update(formData)
|
||||
DeptAPI.add(formData)
|
||||
.then(() => {
|
||||
ElMessage.success("新增成功");
|
||||
closeDialog();
|
||||
|
||||
Reference in New Issue
Block a user