| | |
| | | import Taro from '@tarojs/taro'; |
| | | 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 { isWeChat } from '@/utils/env'; |
| | | |
| | | window.uni = Taro; |
| | | |
| | |
| | | |
| | | // 对应 onShow |
| | | onShow(options) { |
| | | updateVersions(); |
| | | if (isWeChat) { |
| | | updateVersions(); |
| | | } |
| | | }, |
| | | |
| | | // 对应 onHide |
| | |
| | | |
| | | App.use(VueQueryPlugin, vueQueryPluginOptions); |
| | | |
| | | App.use(VueLifeRechargePlugin, { |
| | | blLifeRecharge, |
| | | }); |
| | | |
| | | export default App; |