From 8304eac2a45a32b00563c03a2f3fd303ecd5872a Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期五, 22 八月 2025 13:54:36 +0800
Subject: [PATCH] 1.解决微信小程序真机MQTT无法连接问题

---
 main.js |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/main.js b/main.js
index 00b379f..8f232a8 100644
--- a/main.js
+++ b/main.js
@@ -30,18 +30,16 @@
     // 鍏ㄥ眬鎸傝浇鍚庝娇鐢�
 Vue.prototype.$lget = lget
 
-import mqttTool from './lib/mqttTool.js'
+import mqttTool from './mqtt/mqttTool.js'
 Vue.prototype.$mqttTool = mqttTool
 
-
-const EventBus = new Vue();
-Vue.prototype.$eventBus = EventBus
  
 
 //鍏ㄥ眬鐩戞帶瀹氭椂鍣紙鍦ㄩ〉闈娇鐢ㄥ眬閮ㄥ畾鏃跺櫒浼氬嚭鐜版棤娉曞叧闂棶棰橈級
 Vue.prototype.$monitorTimer = null
 
-
+ 
+ 
 
 Vue.config.productionTip = false
 App.mpType = 'app'

--
Gitblit v1.9.3