From c9c263dc43ad90f95f24a036cee9e6b47afb596c Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期六, 21 十二月 2024 18:44:20 +0800
Subject: [PATCH] 新建盐城德森项目

---
 uni_modules/uni-upgrade-center-app/utils/call-check-version.js |   58 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/uni_modules/uni-upgrade-center-app/utils/call-check-version.js b/uni_modules/uni-upgrade-center-app/utils/call-check-version.js
index 31f80e7..a2ed34c 100644
--- a/uni_modules/uni-upgrade-center-app/utils/call-check-version.js
+++ b/uni_modules/uni-upgrade-center-app/utils/call-check-version.js
@@ -1,29 +1,29 @@
-export default function() {
-	// #ifdef APP-PLUS
-	return new Promise((resolve, reject) => {
-		plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
-			uniCloud.callFunction({
-				name: 'check-version',
-				data: {
-					appid: plus.runtime.appid,
-					appVersion: plus.runtime.version,
-					wgtVersion: widgetInfo.version
-				},
-				success: (e) => {
-					resolve(e)
-				},
-				fail: (error) => {
-					reject(error)
-				}
-			})
-		})
-	})
-	// #endif
-	// #ifndef APP-PLUS
-	return new Promise((resolve, reject) => {
-		reject({
-			message: '璇峰湪App涓娇鐢�'
-		})
-	})
-	// #endif
-}
+export default function() {
+	// #ifdef APP-PLUS
+	return new Promise((resolve, reject) => {
+		plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
+			uniCloud.callFunction({
+				name: 'check-version',
+				data: {
+					appid: plus.runtime.appid,
+					appVersion: plus.runtime.version,
+					wgtVersion: widgetInfo.version
+				},
+				success: (e) => {
+					resolve(e)
+				},
+				fail: (error) => {
+					reject(error)
+				}
+			})
+		})
+	})
+	// #endif
+	// #ifndef APP-PLUS
+	return new Promise((resolve, reject) => {
+		reject({
+			message: '璇峰湪App涓娇鐢�'
+		})
+	})
+	// #endif
+}

--
Gitblit v1.9.1