related codes
class BaseStore {
@observable statusTabActiveKey = 0
}
class ListStore extends BaseStore {
@action.bound
handleTabChange(index) {
super.statusTabActiveKey = index
}
}
const baseStore = new BaseStore()
const listStore = new ListStore()
export {
baseStore,
listStore,
}
what result do you expect? What is the error message actually seen?
I hope baseStore.statusTabActiveKey
can modify
listStore.handleTabChange (2)
method.