From add9b3bb61fcc337b02c15e7973967d670e7d3be Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 21 五月 2025 17:17:28 +0800 Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui --- apps/taro/src/app.ts | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/apps/taro/src/app.ts b/apps/taro/src/app.ts index edf0893..f940945 100644 --- a/apps/taro/src/app.ts +++ b/apps/taro/src/app.ts @@ -11,7 +11,7 @@ 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 { blLifeRecharge, LifeRechargeOptions } from '@/utils/blLifeRecharge'; import { isWeChat } from '@/utils/env'; window.uni = Taro; @@ -50,6 +50,10 @@ // 瀵瑰簲 onLaunch onLaunch(options) { + if (options.query?.channelId) { + console.log('options: ', options); + blLifeRecharge.accountModel.setChannlesNum(options.query.channelId); + } // 濡傛灉鏄敹钘忚繘鍏� if (options.query.collect) { Taro.reLaunch({ @@ -89,6 +93,7 @@ App.use(VueLifeRechargePlugin, { blLifeRecharge, + // options: LifeRechargeOptions, }); export default App; -- Gitblit v1.9.1