瀏覽代碼

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

2 处理真机调试进入主页拿不到数据问题!
release/210823_需求对对碰
王饶冀 3 年之前
父節點
當前提交
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…
取消
儲存