微信小程序api視頻課程-數據緩存-wx.removeStorage 從本地緩存中移除指定 key的使用

wxml代碼 wx.removeStorage(Object object) 從本地緩存中移除指定 key <button bindtap="mydel01">刪除制定key</button> js代碼 /** * 頁面的初始數據 */ data: { }, mydel01:function(){ wx.removeStorage({ key:
相關文章
相關標籤/搜索