yanhuayu opened this issue 8 years ago · 1 comments
//调用API从本地缓存中获取数据 let res = await wx.getStorage({ key: "logs" }); 後面的代碼就不執行了 console.log(res);
//调用API从本地缓存中获取数据 let res = await wx.getStorage({ key: "logs" });
console.log(res);
需要添加try catch,然後就解決了