|
@@ -741,8 +741,14 @@ export default {
|
|
|
}).then(response => {
|
|
}).then(response => {
|
|
|
var msg = response.msg
|
|
var msg = response.msg
|
|
|
this.pushLoading = false;
|
|
this.pushLoading = false;
|
|
|
- if (msg !== null && msg.length > 0) {
|
|
|
|
|
- this.$message.error(msg);
|
|
|
|
|
|
|
+ if (msg === "推送成功") {
|
|
|
|
|
+ this.msgSuccess(msg);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.$message({
|
|
|
|
|
+ type: 'error',
|
|
|
|
|
+ message: msg,
|
|
|
|
|
+ dangerouslyUseHTMLString: true
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
});
|
|
});
|