From 6959c1d4ee2244691603ab1f471b750ac517725d Mon Sep 17 00:00:00 2001
From: 朱桂飞 <18597012158>
Date: 星期四, 01 八月 2024 16:52:46 +0800
Subject: [PATCH] 添加mqtt相关

---
 main.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/main.js b/main.js
index 1a62e98..52c9bf1 100644
--- a/main.js
+++ b/main.js
@@ -18,7 +18,17 @@
 
 import lget from '@/common/loadshget.js'
     // 鍏ㄥ眬鎸傝浇鍚庝娇鐢�
-Vue.prototype.$lget = lget
+Vue.prototype.$lget = lget
+
+import mqttTool from './lib/mqttTool.js'
+Vue.prototype.$mqttTool = mqttTool
+
+ 
+
+//鍏ㄥ眬鐩戞帶瀹氭椂鍣紙鍦ㄩ〉闈娇鐢ㄥ眬閮ㄥ畾鏃跺櫒浼氬嚭鐜版棤娉曞叧闂棶棰橈級
+Vue.prototype.$monitorTimer = null
+
+
 
 Vue.config.productionTip = false
 App.mpType = 'app'

--
Gitblit v1.9.3