Home > @elux/vue-taro > VStore
VStore interface
Store实例(用于View中)
Signature:
export interface VStore<TStoreState extends StoreState = StoreState>
Properties
Property | Type | Description |
---|---|---|
dispatch | Dispatch | 派发action |
sid | number | 实例ID |
state | TStoreState | 当前的Store状态 |
uid | number | ForkID |
Methods
Method | Description |
---|---|
mount(moduleName, env) | 在该store中挂载指定的model |