赞
踩
.js文件
data: { address: '' }, demo: function () { wx.setStorageSync('address', res.data.result.ad_info.city) // 存缓存 this.setData({ address: wx.getStorageSync('address') // 取缓存 }) },