zhengyiming
2025-03-13 d580f043716d30f9617ed7f3f49a7e80d54b9865
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({