From 0e6b50d50cad66c1b375c458cebe0fc8f10ef7f9 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 26 二月 2025 14:12:52 +0800
Subject: [PATCH] fix: bug
---
apps/taro/src/app.ts | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/apps/taro/src/app.ts b/apps/taro/src/app.ts
index 2531ecd..edf0893 100644
--- a/apps/taro/src/app.ts
+++ b/apps/taro/src/app.ts
@@ -10,8 +10,9 @@
import Taro from '@tarojs/taro';
import { VueQueryPlugin, VueQueryPluginOptions } from '@tanstack/vue-query';
import { myClient } from '@/constants/query';
-import { VueLifeRechargePlugin } from '@life-payment/components';
+import { VueLifeRechargePlugin } from '@life-payment/core-vue';
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