From 4bc0e18b94a2bf17c1b7277910d63ef82fbe616a Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 10 一月 2025 09:39:51 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/淮安PDA/pages/index/index.vue |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue"
index b562ab4..445e832 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/index/index.vue"
@@ -31,16 +31,18 @@
 			}
 		},
 		onShow() {
-			// uni.getSystemInfo({
-			// 	success: (res) => {
-			// 		this.version = res.appWgtVersion;
-			// 		// console.log(res);
-			// 		//妫�娴嬪綋鍓嶅钩鍙帮紝濡傛灉鏄畨鍗撳垯鍚姩瀹夊崜鏇存柊 
-			// 		if (res.platform == "android") {
-			// 			this.AndroidCheckUpdate();
-			// 		}
-			// 	}
-			// });
+			console.log();
+			
+			uni.getSystemInfo({
+				success: (res) => {
+					this.version = res.appWgtVersion;
+					// console.log(res);
+					//妫�娴嬪綋鍓嶅钩鍙帮紝濡傛灉鏄畨鍗撳垯鍚姩瀹夊崜鏇存柊 
+					if (res.platform == "android") {
+						this.AndroidCheckUpdate();
+					}
+				}
+			});
 		},
 		onLoad() {
 			this.getCurrentTree();
@@ -52,7 +54,7 @@
 			AndroidCheckUpdate: function() {
 				var _this = this;
 				uni.request({
-					url: 'http://10.1.211.101:9004/api/PDA/GetPDAVersion?version=' + this.version,
+					url: this.$u.http.config.baseUrl+'/api/PDA/GetPDAVersion?version=' + this.version,
 					method: 'GET',
 					data: {},
 					success: res => {
@@ -65,7 +67,7 @@
 								icon: "none"
 							});
 							var dtask = plus.downloader.createDownload(
-								"http://10.1.211.101:9004/api/PDA/DownLoadApp", {},
+								this.$u.http.config.baseUrl+"/api/PDA/DownLoadApp", {},
 								function(d, status) {
 									// 涓嬭浇瀹屾垚 
 									if (status == 200) {

--
Gitblit v1.9.3