Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小程序:wx.setStorageSync()和wx.setStorage()两个方法接受的参数不一致 #13

Open
smileyby opened this issue May 25, 2021 · 0 comments
Labels

Comments

@smileyby
Copy link
Owner

之前没仔细看,今天用的时候发现给setStorageSync传递对象参数会报错

带Sync,接受的参数是字符串以逗号分隔,不带Sync的接受一个对象作为参数,可以写回调函数

@smileyby smileyby added the 小程序 🌀 小程序 label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant