显示插屏广告的方法经常报错
- 代码 [代码]let intsetAd = wx.createInterstitialAd({[代码][代码] [代码][代码]adUnitId: [代码][代码]'adunit-6782f5dc36d498e4'[代码][代码]})[代码][代码]intsetAd.show().then(() => {//出错行view.js:749[代码][代码] [代码][代码]if[代码] [代码](!page.data.adFlag){[代码][代码] [代码][代码]page.setData({ adFlag: 1 })[代码][代码] [代码][代码]}[代码][代码]}).[代码][代码]catch[代码][代码](err => {[代码][代码] [代码][代码]console.log(err.errMsg)[代码][代码] [代码][代码]page.setData({ adFlag: 2 })[代码][代码]})[代码] - 当前 Bug 的表现(可附上截图) Object.values is not a function. (In 'Object.values(ub.show)', 'Object.values' is undefined);at pages/item/view page adInsert functionhttps://lib/WAService.js:1:738513Im@https://lib/WAService.js:1:738574value@https://lib/WAService.js:1:745315adInsert@https://pages/item/view.js:749:14https://lib/WAService.js:1:1007171