-
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
更新数据时,如果不加setTimeout,update时报错 #32
Comments
报什么错?贴一下? |
截个完整堆栈信息。 |
TypeError: Cannot read property 'indexOf' of undefined |
上个版本没问题,今天升级了下,就有问题了。是不是和按需更新有关 |
提交了一版,试试~~ |
完美解决!赞赞赞 |
我昨天测试了一下,也是报这个错,在westore-cloud里 |
westore-cloud里的基础库没换 |
赶紧更换一下啊,谢谢 |
已提交 |
//报错
that.store.data.themeColor = theme;
that.update();
//不报错
setTimeout(function () {
that.store.data.themeColor = theme;
that.update();
}, 10000)
The text was updated successfully, but these errors were encountered: