This commit is contained in:
lb
2023-03-30 13:38:20 +08:00
parent 0268af8557
commit a5a28de3cf
4 changed files with 37 additions and 33 deletions

View File

@@ -445,7 +445,8 @@ export default {
if (res.code === 0) {
this.$message.success(method === "POST" ? "添加成功" : "更新成功");
this.$emit("refreshDataList");
if (method === "POST") this.handleClose();
// if (method === "POST") this.handleClose();
this.handleClose();
} else {
this.$message({
message: `${res.code}: ${res.msg}`,