| 1234567891011121314151617 |
- // pages/voyages/voyages.js
- Page({
- data: {
- },
- onLoad() {
- wx.removeStorageSync('voyageDetailId')
- },
- onShow: function (options) {
- if (wx.getStorageSync('isClient')) return
- if (wx.getStorageSync('voyageDetailId')) return
- wx.removeStorageSync('voyageDetailId')
- const child = this.selectComponent('.voyages');
- child.getVoyageList()
- },
- })
|