app 内购+充值bug

This commit is contained in:
@fawn-nine
2024-07-12 16:02:51 +08:00
parent 9843424e1c
commit 8da6c50ded
7 changed files with 317 additions and 117 deletions

View File

@@ -3,6 +3,9 @@
music,
bgm
} from '@/utils/music.js'
import {
iap
} from "@/utils/myIapCheck.js";
import store from '@/store/index.js';
import socket from '@/config/socket';
// #ifdef H5
@@ -27,7 +30,10 @@
onLaunch: function(e) {
// 检测自动更新
// #ifdef APP-PLUS
updata()
updata();
// 检测是否有未关闭苹果内购订单
iap.getChannels();
console.log('引入了?');
// #endif
uni.getSystemInfo({