报警消息推送位置改为右下角
This commit is contained in:
parent
5a4d9b3e9a
commit
59f5845f85
@ -269,6 +269,7 @@ export default {
|
|||||||
this.$notify({
|
this.$notify({
|
||||||
title: message.title,
|
title: message.title,
|
||||||
message: message.content,
|
message: message.content,
|
||||||
|
position: 'bottom-right'
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
// 断开发起重连
|
// 断开发起重连
|
||||||
|
|||||||
@ -413,7 +413,7 @@ export default {
|
|||||||
title: this.$t('message.highModulus.success'),
|
title: this.$t('message.highModulus.success'),
|
||||||
// '请开始移动点位!'
|
// '请开始移动点位!'
|
||||||
message: this.$t('message.highModulus.hintText2'),
|
message: this.$t('message.highModulus.hintText2'),
|
||||||
type: 'success'
|
type: 'success',
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
savePoint(){
|
savePoint(){
|
||||||
|
|||||||
@ -591,6 +591,7 @@ export default {
|
|||||||
// 接收消息处理
|
// 接收消息处理
|
||||||
client2.on("message", (topic, message) => {
|
client2.on("message", (topic, message) => {
|
||||||
console.log("收到来自", topic, "的消息", message.toString());
|
console.log("收到来自", topic, "的消息", message.toString());
|
||||||
|
console.log("111111111")
|
||||||
console.log(JSON.parse(message));
|
console.log(JSON.parse(message));
|
||||||
// console.log(message.content.toString());
|
// console.log(message.content.toString());
|
||||||
// console.log(JSON.parse(message.content.toString()));
|
// console.log(JSON.parse(message.content.toString()));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user