Skip to content

Commit

Permalink
fix: web ad 组件内部变量命名问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hdx committed Jul 18, 2023
1 parent 4ad84af commit 024f7a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/platforms/h5/view/components/ad/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export default {
}
},
mounted () {
this._p = {}
this._pd = {}
this._pl = []
this._pi = 0
this._checkTimer = null
Expand All @@ -356,7 +356,7 @@ export default {
this._report(41)
},
_reset () {
this._p = {}
this._pd = {}
this._pl = []
this._pi = 0
this._clearCheckTimer()
Expand All @@ -368,7 +368,7 @@ export default {
const id = adpid || this.adpid
const aid = (this._isWidescreen ? (this.adpidWidescreen || id) : id)
AdConfig.instance.get(aid, (b, a) => {
this._b = b
this._ab = b
this._pl = a
this._renderAd()
}, (err) => {
Expand All @@ -381,7 +381,7 @@ export default {
}
const data = this._pl[this._pi]
const providerConfig = this._b[data.a1][data.t]
const providerConfig = this._ab[data.a1][data.t]
const script = providerConfig.script
this._currentChannel = data.a1
Expand Down

0 comments on commit 024f7a4

Please sign in to comment.