模具 不显示错误信息

This commit is contained in:
xielue 2023-09-18 18:23:45 +08:00
parent b0c0a1b2a2
commit 38ca4830e4
2 changed files with 3 additions and 9 deletions

View File

@ -265,9 +265,7 @@ export default {
data: sendData,
useBigInt: true
}).then(a => {
if (a.code != 200) {
this.$mk.error(a.msg);
} else {
if (a.code == 200) {
this.$mk.success(a.msg || "停止成功");
}
});
@ -320,9 +318,7 @@ export default {
data: sendData,
useBigInt: true
}).then(a => {
if (a.code != 200) {
this.$mk.error(a.msg);
} else {
if (a.code == 200) {
this.$mk.success(a.msg || "发送成功");
}
});

View File

@ -162,9 +162,7 @@ export default {
data: sendData,
useBigInt: true
}).then(a => {
if (a.code != 200) {
this.$mk.error(a.msg);
} else {
if (a.code == 200) {
this.$mk.success(a.msg || "发送成功");
}
});