diff --git a/src/views/train/synInfo/components/sendUtil.vue b/src/views/train/synInfo/components/sendUtil.vue index de8d4c5..9dc47a2 100644 --- a/src/views/train/synInfo/components/sendUtil.vue +++ b/src/views/train/synInfo/components/sendUtil.vue @@ -96,9 +96,13 @@ export default { tm: new Date().getTime() } ).then((data) => { - this.$message.success('推送成功') - this.visible = false - this.$emit('refresh', '') + if (data.code !== '0') { + this.$message.error(data.msg) + } else { + this.$message.success('推送成功') + this.visible = false + this.$emit('refresh', '') + } }) } }