【修改】前端发布按钮反显后端的提示

This commit is contained in:
zer0Black
2022-04-16 16:52:11 +08:00
parent 368716a269
commit 5de335ef07
@@ -247,10 +247,10 @@
onOk() { onOk() {
postAction(_this.url.urlWithdraw, item).then((res) => { postAction(_this.url.urlWithdraw, item).then((res) => {
if (res.success) { if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful')) _this.$message.success(res.message)
_this.getList() _this.getList()
} else { } else {
_this.$message.warning(_this.$t('operationFailed')) _this.$message.warning(res.message)
} }
}) })
} }