From c08d65c56e8b90bdef300ac45e5545c944f7eacc Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 24 二月 2025 13:41:32 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentFront --- apps/taro/src/app.ts | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/apps/taro/src/app.ts b/apps/taro/src/app.ts index 5039280..edf0893 100644 --- a/apps/taro/src/app.ts +++ b/apps/taro/src/app.ts @@ -10,6 +10,9 @@ import Taro from '@tarojs/taro'; import { VueQueryPlugin, VueQueryPluginOptions } from '@tanstack/vue-query'; import { myClient } from '@/constants/query'; +import { VueLifeRechargePlugin } from '@life-payment/core-vue'; +import { blLifeRecharge } from '@/utils/blLifeRecharge'; +import { isWeChat } from '@/utils/env'; window.uni = Taro; @@ -62,7 +65,9 @@ // 瀵瑰簲 onShow onShow(options) { - updateVersions(); + if (isWeChat) { + updateVersions(); + } }, // 瀵瑰簲 onHide @@ -82,4 +87,8 @@ App.use(VueQueryPlugin, vueQueryPluginOptions); +App.use(VueLifeRechargePlugin, { + blLifeRecharge, +}); + export default App; -- Gitblit v1.9.1