|
@@ -432,7 +432,7 @@ export default {
|
432
|
432
|
this.closePop();
|
433
|
433
|
this.$emit("init");
|
434
|
434
|
} else {
|
435
|
|
- this.$message.error("新增失败");
|
|
435
|
+ this.$message.error("新增失败:"+res.data.msg);
|
436
|
436
|
setTimeout(() => {
|
437
|
437
|
this.closePop();
|
438
|
438
|
}, 2000);
|
|
@@ -480,7 +480,7 @@ export default {
|
480
|
480
|
this.closePop();
|
481
|
481
|
this.$emit("init");
|
482
|
482
|
} else {
|
483
|
|
- this.$message.error("修改失败");
|
|
483
|
+ this.$message.error("修改失败:"+res.data.msg);
|
484
|
484
|
setTimeout(() => {
|
485
|
485
|
this.closePop();
|
486
|
486
|
}, 2000);
|