.
This commit is contained in:
parent
04a2df1feb
commit
ce663c9182
3
App.vue
3
App.vue
@ -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: {},
|
||||
|
Loading…
Reference in New Issue
Block a user