From 186d172fc06dfe44dc2a61d238356e6a7db652d5 Mon Sep 17 00:00:00 2001
From: zhuguifei <zhuguifei@zhuguifeideiMac.local>
Date: 星期五, 04 七月 2025 15:13:14 +0800
Subject: [PATCH] 分包准备

---
 App.vue |   22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/App.vue b/App.vue
index 87c3ab4..5fa7395 100644
--- a/App.vue
+++ b/App.vue
@@ -2,11 +2,16 @@
 	import Vue from 'vue'
 
 	export default {
+		//鍏ㄥ眬鍙橀噺(鍚屾鏁版嵁鍙敤鍏ㄥ眬鍙橀噺锛屽紓姝ユ暟鎹娇鐢╲uex)
 		globalData: {
-			token: ""
+			token: "",
+			//褰撳墠閫夋嫨tab
+			selectTab: 0,
+			//褰撳墠缃戠粶妯″紡锛坈loud-浜戞湇鍔°�乴an-灞�鍩熺綉锛�
+			mode: "",
 		},
 		onLaunch: function() {
-			 
+
 
 
 			//姝ゅ涓簎nipush2.0鐨勬帹閫佹柟娉�
@@ -27,19 +32,17 @@
 
 			//鎺ㄩ�佷粎鏀寔Android ios鍘熺敓骞冲彴
 			// #ifdef APP-PLUS
-			console.log('APP-PLUS:')
 			// 姝ゅ涓簎nipush1.0鐨勬帹閫佹柟娉�
 			plus.push.getClientInfoAsync((info) => {
 				let cid = info["clientid"];
 				console.log('瀹㈡埛绔帹閫佹爣璇�:', cid)
-				this.$store.dispatch('setCid', cid); // 浣跨敤 action 鏇存柊 cid
+				this.$store.dispatch('setClientPushId', cid); // 浣跨敤 action 鏇存柊 cid
+
 			});
 			// #endif
 			uni.onPushMessage((res) => {
 				console.log("鏀跺埌鎺ㄩ�佹秷鎭細", res) //鐩戝惉鎺ㄩ�佹秷鎭�
 			})
-
-
 
 			uni.getSystemInfo({
 				success: function(e) {
@@ -96,12 +99,7 @@
 				if (this.$mqttTool.client) {
 					console.log(this.$mqttTool.client.connected)
 				}
-				// if(this.$mqttTool.client){
-				// 	this.$mqttTool.end().then(res =>{
-				// 		console.log('缁堟锛�')
-				// 	})
-
-				// }
+			
 			}
 
 		},

--
Gitblit v1.9.3