|
|
@@ -167,6 +167,7 @@ Page({
|
|
|
id,
|
|
|
trans
|
|
|
} = e.currentTarget.dataset
|
|
|
+ wx.setStorageSync('currentDailyId', id)
|
|
|
let url = ''
|
|
|
switch (this.data.maintab) {
|
|
|
case 1: {
|
|
|
@@ -246,11 +247,12 @@ Page({
|
|
|
this.getList()
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
-
|
|
|
+ wx.removeStorageSync('currentDailyId')
|
|
|
},
|
|
|
onShow(option) {
|
|
|
this.setData({
|
|
|
- loginAccountId: wx.getStorageSync('loginAccountId')
|
|
|
+ loginAccountId: wx.getStorageSync('loginAccountId'),
|
|
|
+ currentDailyId: wx.getStorageSync('currentDailyId')
|
|
|
})
|
|
|
this.getList()
|
|
|
}
|