【修改】前端发布按钮反显后端的提示
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user