提交 d229d6e6 编写于 作者: d-u-a's avatar d-u-a

udpate: rewarded-video

上级 a0d0107d
......@@ -257,8 +257,16 @@ class AdHelper {
get(options) {
const {
adpid
adpid,
singleton = true
} = options
if (singleton === false) {
if (this._ads[adpid]) {
this._ads[adpid].destroy()
delete this._ads[adpid]
}
}
delete options.singleton
if (!this._ads[adpid]) {
this._ads[adpid] = this._createAdInstance(options)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册