fix:禅道61

This commit is contained in:
shijing 2025-08-18 16:26:43 +08:00
parent cad994e7e2
commit bc8673b85b
1 changed files with 7 additions and 7 deletions

View File

@ -220,14 +220,14 @@ export default {
//
delDept(row) {
let that = this;
let id = row.id;
let res = this.$API.system.dept.delete.req(id);
if (res.err_msg) {
this.$message.error(res.err_msg);
} else {
this.$refs.table.refresh();
this.$message.success("删除成功");
}
that.$API.system.dept.delete.req(id).then(res=>{
that.$refs.table.refresh();
that.$message.success("删除成功");
}).catch(res=>{
that.$message.error(res.err_msg);
});
},
submitHandle() {
let that = this;