Commit 664f4bc7 authored by jyx's avatar jyx

代码优化

parent 94e51199
......@@ -273,7 +273,7 @@
data
}) => {
that.showAdForServer = data.douyinAdTipOpen;
if (!that.showAdForServer) {
if (that.showAdForServer) {
// 预加载广告
that.preloadAd()
}
......@@ -284,7 +284,7 @@
let that = this
// 创建实例
this.ad = tt.createRewardedVideoAd({
adUnitId: REWARD_ID,
adUnitId: REWARD_ID
});
// 监听错误
......@@ -431,7 +431,7 @@
},
adUnlock() {
let that = this
this.post({
common.methods.post({
url: '/vedio/unlockByAd',
data: {
adSource: 'csj',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment