|
@@ -289,8 +289,9 @@ Page({
|
|
|
},
|
|
|
onShow() {
|
|
|
this.setData({
|
|
|
- favoriteCount: getApp().globalData.favoriteCount
|
|
|
+ favoriteCount: getApp().globalData.favoriteCount,
|
|
|
+ badge: getApp().globalData.collectCount,
|
|
|
})
|
|
|
- this.getDetail(true,this.data.loading);
|
|
|
+ this.getDetail(true, this.data.loading);
|
|
|
},
|
|
|
})
|