test

107 阅读1分钟

JsTestModel

model一些说明描述内容,比如这个model是做什么的...

JsTestModel.namespace

命名空间

Kind: static property of JsTestModel
Value: JsTestModel

JsTestModel.state : Object

初始数据,本地的state数据 可以通过 store.getState().namesapce 来获得当前 state

Kind: static property of JsTestModel

JsTestModel.effects : Object

biz 业务逻辑处理层 方法中包含 3 个参数 dispatch 可以继续派发动作 getState 可以获取数据 action dispatch派发的数据

Kind: static property of JsTestModel

effects.andleLoadTeamInfo(state, value) : Object

*andleLoadTeamInfo(

Kind: static method of effects

ParamType
stateObject
valueany

effects.handleUpdateTeamExt() : Object

*handleUpdateTeamExt

Kind: static method of effects

effects.handleLocShareStatusChange(state, value) : Object

*handleLocShareStatusChange

Kind: static method of effects

ParamType
stateObject
valueany

JsTestModel.reducers : Object

reducers 用来改变 state, 是纯函数. 相同的输入必得相同的输出, 例如 +new Date() 就不可以在 reducer 中

Kind: static property of JsTestModel

reducers.updateTeamInfo(state, value)

更新群信息

Kind: static method of reducers

ParamType
stateObject
valueany

reducers.updateTeamExt(state, value)

更新群扩展信息

Kind: static method of reducers

ParamType
stateObject
valueany

reducers.updateUserInfo(state, teamInfo)

更新个人信息

Kind: static method of reducers

ParamType
stateObject
teamInfoObject