Skip to content

Commit

Permalink
fix:小说广告展示打点修改判断字段 (#1298)
Browse files Browse the repository at this point in the history
*  feat:为小说组件配置判断打点字段

* fix: 修改广告展现判断字段
  • Loading branch information
caoru828 authored Nov 28, 2018
1 parent 5ef40a3 commit 3779243
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/mip-custom/mip-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ define(function () {
// rquire tools
var util = require('util');
var viewer = require('viewer');
// 添加广告展示PV判断字段,待广告渲染完成 window.MIP.ad.show 为 true
window.MIP.ad = {};
// require modules
var url = require('mip-custom/url');
var dom = require('mip-custom/dom');
Expand Down Expand Up @@ -199,9 +197,8 @@ define(function () {
var mipCustomContainer = mipCustomContainers[i];
mipCustomContainer.classList.add('fadein');
}

// 广告渲染完成
window.MIP.ad.show = true
window.MIP.adShow = true
// 移除广告占位符号
dom.removePlaceholder.apply(this);
};
Expand Down

0 comments on commit 3779243

Please sign in to comment.