We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例如:
import store1 from 'stores/store1' import store2 from 'stores/store2' Page({ data: { d1: store1.data, d2: store2.data, } onLoad() { store1.bind(this) store2.bind(this) }, })
The text was updated successfully, but these errors were encountered:
https://github.com/linjc/mini-stores 这个小程序的状态管理,可以这么用,示例在下面 https://github.com/linjc/mini-stores/blob/master/examples/wx/pages/index/index.js
Sorry, something went wrong.
https://github.com/Tencent/westore/blob/master/packages/westore-example/stores/home-store.js
一个页面只有一个store,但是可以有多个 model
No branches or pull requests
例如:
The text was updated successfully, but these errors were encountered: