Commit 9634ca70 authored by Your Name's avatar Your Name

展板分类删除提示

parent 7b19e994
...@@ -314,8 +314,15 @@ export default { ...@@ -314,8 +314,15 @@ export default {
}) })
.then( .then(
(res) => { (res) => {
if (res.data.resultCode ==="500"){
this.$message({
type: "error",
message: res.data.message,
});
}else {
this.$message({ type: "success", message: "删除成功!" }); this.$message({ type: "success", message: "删除成功!" });
_this.onSearch(); _this.onSearch();
}
}, },
(error) => { (error) => {
this.$message({ this.$message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment