|
|
|
@ -31,7 +31,6 @@ export function initGlState(info = { _state: 'foobar' }) {
@@ -31,7 +31,6 @@ export function initGlState(info = { _state: 'foobar' }) {
|
|
|
|
|
// todo: 可根据自身的数据传输需求进行更改
|
|
|
|
|
actions.setGlobalState(info); |
|
|
|
|
actions.onGlobalStateChange((newState, prev) => { |
|
|
|
|
debugger |
|
|
|
|
console.log(newState, prev); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|