页面缓存列表

微信小程序如何处理页面缓存

微信小程序如何处理页面缓存

发布时间:2025-06-17 10:00:35 查看
微信小程序处理页面缓存的方法: 根据当前时间作为判断依据,缓存数据,代码: Page({ data: { }, onLoad: function () { //this.getNowTime() if(wx.getStorageSync("loaction_time")==this.getNowTime()){ //读取缓存 console.log("缓存地址"); var dateva
共1页/1条