如何合并多个异径管?

我有一个如下的文件结构

商店

  • index.js
  • 减速器
  • 组织
  • index.js
  • 用户
  • index.js
  • index.js

尝试将组织者和用户化约者结合到reducers / index.js

import { combineReducers } from 'redux';
import organize from './organize';
import user from './user';

const rootReducer = combineReducers({
  organize,
  user,
});

export default rootReducer;

和存储/ index.js代码如下

import { createStore, applyMiddleware, compose } from 'redux';
import createSagaMiddleware from 'redux-saga';
import rootReducer from './reducers';
import rootSaga from './sagas';

const sagaMiddleware = createSagaMiddleware();
export const store = createStore(rootReducer, compose(applyMiddleware(sagaMiddleware)));
sagaMiddleware.run(rootSaga);

当我只用organize / index.js文件替换store / reducers / index.js时,一切都会按预期进行。但是,当我尝试像这样组合user / index.js + organize / index.js时,saga不会调用reducer。

我还有其他东西吗?