wx.getUserCloudStorage is not a function
发布于 5 年前 作者 xiuyinggao 1911 次浏览 来自 问答

为什么会报这个错,找不原因啊?

wx.setUserCloudStorage就没有问题  但是换成get  就报错了。

wx.getUserCloudStorage({

keyList: [‘asd’],

success:(res)=>{

console.log(res)

}

})

VM2208:1 gameThirdScriptError

wx.getUserCloudStorage is not a function

TypeError: wx.getUserCloudStorage is not a function

   at http://127.0.0.1:36793/game/code.js:48492:4

   at require (http://127.0.0.1:36793/game/__dev__/WAGame.js:3:13718)

   at http://127.0.0.1:36793/game/__dev__/WAGame.js:3:13432

   at http://127.0.0.1:36793/game/game.js:4:1

   at require (http://127.0.0.1:36793/game/__dev__/WAGame.js:3:13718)

   at http://127.0.0.1:36793/game/gamePage.html:121:5

4 回复

写哪里才算正确,我也遇到这个问题

写哪里才算正确,我也遇到这个问题

同问,写在什么地方啊???

谢谢!!!

找到问题了…写错地方了

回到顶部