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

fix: ad 组件无法销毁的问题

上级 55b5e684
......@@ -141,6 +141,7 @@ export default {
this._request()
},
beforeDestroy () {
this.adView && this.adView.close()
delete this.adView
},
methods: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册