Преглед изворни кода

1 处理聊天发送页面已读未读的显示问题。

2 处理真机调试进入主页拿不到数据问题!
release/210823_需求对对碰
王饶冀 пре 4 година
родитељ
комит
8befd99cf2
1 измењених фајлова са 11 додато и 7 уклоњено
  1. 11
    7
      pages/index/components/homepage/homepage.js

+ 11
- 7
pages/index/components/homepage/homepage.js Прегледај датотеку

pageLoading: true, pageLoading: true,
isOther: data.customerid != app.globalData.customerId isOther: data.customerid != app.globalData.customerId
}) })
console.log(`进这里`)
// 记录浏览量
if (this.data.isOther) {
this.saveHomeCollect();
}
this.getListData();
}) })
} else { } else {
this.setData({ this.setData({
pageLoading: true, pageLoading: true,
isOther: options.customerId != app.globalData.customerId isOther: options.customerId != app.globalData.customerId
}) })
console.log(`进这里2`)
}
// 记录浏览量
if (this.data.isOther) {
this.saveHomeCollect();
// 记录浏览量
if (this.data.isOther) {
this.saveHomeCollect();
}
this.getListData();
} }
this.getListData();
}, },
// 进入详情 // 进入详情
goDetails(e) { goDetails(e) {

Loading…
Откажи
Сачувај