From 0386c66b708e4cc183b43231303452d888805922 Mon Sep 17 00:00:00 2001 From: liuyiwuqing <1520431201@qq.com> Date: Tue, 28 May 2024 17:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B9=BF=E5=91=8Aid=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=BC=95=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/advertise/advertise.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagesA/advertise/advertise.vue b/pagesA/advertise/advertise.vue index a2bdafc..d1367a2 100644 --- a/pagesA/advertise/advertise.vue +++ b/pagesA/advertise/advertise.vue @@ -71,7 +71,7 @@ export default { adLoad() { if (wx.createRewardedVideoAd) { videoAd = wx.createRewardedVideoAd({ - adUnitId: haloAdConfig.rewardedVideoAd //你的广告key + adUnitId: this.$haloAdConfig.rewardedVideoAd //你的广告key }) videoAd.onError(err => { }) @@ -86,7 +86,7 @@ export default { } }, openVideoAd: function () { - if (videoAd && haloAdConfig.rewardedVideoAd != '') { + if (videoAd && this.$haloAdConfig.rewardedVideoAd != '') { videoAd.show().catch(err => { // 失败重试 console.log("广告拉取失败") -- Gitee