Authored by 李奇

错误修正

... ... @@ -26,9 +26,7 @@ Page({
event.on('bind-auto-register-type-report', params => {
yas.report('YB_REGISTER_SUCCESS', params);
});
console.log('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<', app.globalData.unionID);
event.on('wx-union-id-update', () => {
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>');
console.log('update', !!app.globalData.unionID);
this.setData({
hasUnionID: !!app.globalData.unionID
... ...
... ... @@ -149,7 +149,7 @@ Page({
showLoading: false,
productList: this.data.productList.concat(list),
currentPage: params.page,
totalPage: res.data.page_total
totalPage: res.data && res.data.page_total || 0
});
if (!this.data.showCopyright) {
... ...