This commit is contained in:
Iruka 2024-12-24 11:58:40 +08:00
parent 04a2df1feb
commit ce663c9182

View File

@ -6,13 +6,14 @@
dcEventType
} from "@/utils/indexUtil/dc.js"
import mqttUtil from "@/utils/mqttUtil.js"
const mqttUrl = import.meta.env.VITE_BASE_MQTT;
export default {
data() {
return {
ijs: new indexUtil(), //
dc: new deviceControl(2, this.dcEventHandler), //
mqtt: new mqttUtil(this.mqttStateHandler, this.mqttMsgHandler), //Mqtt
mqtt: new mqttUtil(mqttUrl, this.mqttStateHandler, this.mqttMsgHandler), //Mqtt
isFirseLink: true, //Mqtt
mqttFun: {},
landFun: {},