设备控制 分布式锁提醒

master
lld 2026-02-01 00:20:20 +08:00
parent d30637671e
commit 65281bbce2
1 changed files with 6 additions and 0 deletions

View File

@ -581,6 +581,12 @@ export default {
// 3.
if (msgData.prop && "suc" in msgData) {
this.handleCommandAck(msgData, this.deviceType);
} else if ("msg" in msgData && "clientId" in msgData) {
if (mqttUtil.getMqttState().clientId === msgData.clientId) {
this.$modal.msg(
`${msgData.msg}`
);
}
} else {
this.handleOtherContent(msgData,payload)
}