小程序的本地缓存数据
实现效果:
代码实现:
localCache.wxml:
<button bindtap="setLocalSession" >设置缓存数据</button>
<button bindtap="getLocalSession" >获取缓存数据</button>
<button bindtap="clearLocalSession" >清空缓存数据</button>
小程序的本地缓存数据
实现效果:
代码实现:
localCache.wxml:
<button bindtap="setLocalSession" >设置缓存数据</button>
<button bindtap="getLocalSession" >获取缓存数据</button>
<button bindtap="clearLocalSession" >清空缓存数据</button>