From d580f043716d30f9617ed7f3f49a7e80d54b9865 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 13 三月 2025 15:42:17 +0800 Subject: [PATCH] fix: 二期需求 --- apps/taro/src/app.ts | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/apps/taro/src/app.ts b/apps/taro/src/app.ts index d2b1804..1af221b 100644 --- a/apps/taro/src/app.ts +++ b/apps/taro/src/app.ts @@ -10,7 +10,7 @@ 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'; @@ -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({ -- Gitblit v1.9.1