模具 总发送成功

This commit is contained in:
xielue 2023-09-18 18:29:05 +08:00
parent 38ca4830e4
commit 8fb12e6448
2 changed files with 4 additions and 3 deletions

View File

@ -319,6 +319,8 @@ export default {
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 || "发送成功");
} }
}); });

View File

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