模具 不显示错误信息
This commit is contained in:
parent
b0c0a1b2a2
commit
38ca4830e4
|
|
@ -265,9 +265,7 @@ export default {
|
||||||
data: sendData,
|
data: sendData,
|
||||||
useBigInt: true
|
useBigInt: true
|
||||||
}).then(a => {
|
}).then(a => {
|
||||||
if (a.code != 200) {
|
if (a.code == 200) {
|
||||||
this.$mk.error(a.msg);
|
|
||||||
} else {
|
|
||||||
this.$mk.success(a.msg || "停止成功");
|
this.$mk.success(a.msg || "停止成功");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -320,9 +318,7 @@ export default {
|
||||||
data: sendData,
|
data: sendData,
|
||||||
useBigInt: true
|
useBigInt: true
|
||||||
}).then(a => {
|
}).then(a => {
|
||||||
if (a.code != 200) {
|
if (a.code == 200) {
|
||||||
this.$mk.error(a.msg);
|
|
||||||
} else {
|
|
||||||
this.$mk.success(a.msg || "发送成功");
|
this.$mk.success(a.msg || "发送成功");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -162,9 +162,7 @@ export default {
|
||||||
data: sendData,
|
data: sendData,
|
||||||
useBigInt: true
|
useBigInt: true
|
||||||
}).then(a => {
|
}).then(a => {
|
||||||
if (a.code != 200) {
|
if (a.code == 200) {
|
||||||
this.$mk.error(a.msg);
|
|
||||||
} else {
|
|
||||||
this.$mk.success(a.msg || "发送成功");
|
this.$mk.success(a.msg || "发送成功");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue