From 83f821e00802979e64840901bf2a1d18b4b61601 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 21 二月 2025 14:52:58 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentFront

---
 apps/taro/src/app.ts |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/apps/taro/src/app.ts b/apps/taro/src/app.ts
index 2531ecd..d2b1804 100644
--- a/apps/taro/src/app.ts
+++ b/apps/taro/src/app.ts
@@ -12,6 +12,7 @@
 import { myClient } from '@/constants/query';
 import { VueLifeRechargePlugin } from '@life-payment/components';
 import { blLifeRecharge } from '@/utils/blLifeRecharge';
+import { isWeChat } from '@/utils/env';
 
 window.uni = Taro;
 
@@ -64,7 +65,9 @@
 
   // 瀵瑰簲 onShow
   onShow(options) {
-    updateVersions();
+    if (isWeChat) {
+      updateVersions();
+    }
   },
 
   // 瀵瑰簲 onHide

--
Gitblit v1.9.1