zhengyiming
2 天以前 c0bcba49bef43b880978ff63b2ac00f1ba5c5c6a
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;
@@ -52,6 +52,7 @@
  onLaunch(options) {
    if (options.query?.channelId) {
      console.log('options: ', options);
      blLifeRecharge.accountModel.setChannlesNum(options.query.channelId);
    }
    // 如果是收藏进入
    if (options.query.collect) {
@@ -92,6 +93,7 @@
App.use(VueLifeRechargePlugin, {
  blLifeRecharge,
  // options: LifeRechargeOptions,
});
export default App;