wupengfei
2025-02-24 fe5fc18b6b1810a61df6ed7d94957f449ca05488
apps/taro/src/app.ts
@@ -12,6 +12,7 @@
import { myClient } from '@/constants/query';
import { VueLifeRechargePlugin } from '@life-payment/components';
import { blLifeRecharge } from '@/utils/blLifeRecharge';
import { isWeChat } from '@/utils/env';
window.uni = Taro;
@@ -64,7 +65,9 @@
  // 对应 onShow
  onShow(options) {
    updateVersions();
    if (isWeChat) {
      updateVersions();
    }
  },
  // 对应 onHide