Kaynağa Gözat

【大屏】【修改】【删除多余log】

tags/jenkins-front-end-screenad-327-v182^0
caserKing 5 yıl önce
ebeveyn
işleme
d7abe27a8c
1 değiştirilmiş dosya ile 1 ekleme ve 10 silme
  1. +1
    -10
      App.js

+ 1
- 10
App.js Dosyayı Görüntüle

@@ -361,11 +361,9 @@ codePushStatusDidChange(syncStatus) {
+ encodeURIComponent(this.state.macAddress)
+ '&pageNum=1&pageSize=1000')
.then(result => {
console.log(result)
if (result.code != 200) {
this.showErrMsg(result.message+'\n'+this.state.macAddress);
} else if (result.data.list) {
console.log(result.data.list)
//
//type==0的是券 1是? 2是广告大图
let curData = result.data.list;
@@ -399,7 +397,6 @@ codePushStatusDidChange(syncStatus) {
if (result.code != 200) {
this.showErrMsg(result.message+'\n'+this.state.macAddress);
} else if (result.data) {
console.log(result.data)
this.setState({baseInfo:result.data});
} else {
this.showErrMsg(errorMsg.ERR_DATA_GET);
@@ -471,7 +468,7 @@ async routine() {
} else if (this.state.adType == 0) {
if (pageChangeCount <= 0) { //页面切换间隔
//如果播放到了最后一页,接下来暂停计时器,可能播放商户排名页
if (curAdIndex > adDataList.length) {
if (curAdIndex >= adDataList.length) {
this.dealRankTimer(true);
this.setState({
openRankList: true,
@@ -918,27 +915,21 @@ renderAdDom() {
getAdView(){
if (this.state.baseInfo) {
if (this.state.adType == 0) {
console.log(this.state.hasRankList)
console.log(this.state.openRankList)
if (this.state.hasRankList && this.state.openRankList) {
console.log(111)
return (
this.renderRankDom()
)
} else {
console.log(222)
return (
this.renderTicketDom()
)
}
} else if (this.state.adType == 2) {
if (this.state.hasRankList && this.state.openRankList) {
console.log(333)
return (
this.renderRankDom()
)
} else {
console.log(444)
return (
this.renderAdDom()
)


Yükleniyor…
İptal
Kaydet