-
Notifications
You must be signed in to change notification settings - Fork 479
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
在app.js里的onLaunch里调用store.update()报错 #58
Comments
setTimeout没问题 |
一样的问题 |
onLaunch的时候还没执行create,store上还没有update函数 |
一样的问题 |
你可以去看store.js导出的对象里根本没有update这个方法的,这个方法是在第一个套了create的页面初始化了才被挂上去的,所以加了个timeout就没问题,直接调用就报错。 |
fork改改之后记得 pr啊 |
mark,2020-04-08 18:18:49 直接写不好使,必须写在setTimeout里面 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
报以下错误
The text was updated successfully, but these errors were encountered: