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) { if (isWeChat) { updateVersions(); } }, // 对应 onHide