zhengyiming
2025-03-28 8bb9173a95a87e3ceab4f48b5b34041af38b7c70
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({