微信小程序 - wx.setstoragesync和wx.setstorage的區別

前言     StorageSync是Storage的同步版本web Storage // setting wx.setStorage({ key:"key", data:"value" }) // getting wx.getStorage({ key: 'key', success (res) { console.log(res.data) } }) Storage
相關文章
相關標籤/搜索