Open shenhailin opened 1 year ago
yield put({ type: 'preUpdateState', payload: yourPayload, }) const newState= yield select(({ yourNamespace }) => yourNamespace.state)