监听者模式
new Store<{"foo": [arg1: number, arg2: string],"bar": [arg: boolean],}>()
预设的监听回调类型
全局的数据变化钩子
值
获取值
值的名称
监听数据变化
监听的字段名称
回调函数
解除监听数据变化
设置值
监听者模式