|
|
@ -19,9 +19,11 @@ const store = configureStore({ |
|
|
|
// 铁路局、工务段、线路名 文本数组
|
|
|
|
export const selectOrgTextArr = createSelector( |
|
|
|
selectLabeledKtjOrgs, |
|
|
|
(state: RootState) => state.context, |
|
|
|
(ktjOrgs, ctx) => { |
|
|
|
return textsOfKeys([ctx.currOrgCode, ctx.currGWDCode, ctx.currXMCode], ktjOrgs); |
|
|
|
(state: RootState) => state.context.currOrgCode, |
|
|
|
(state: RootState) => state.context.currGWDCode, |
|
|
|
(state: RootState) => state.context.currXMCode, |
|
|
|
(ktjOrgs, org, gwd, xm) => { |
|
|
|
return textsOfKeys([org, gwd, xm], ktjOrgs); |
|
|
|
} |
|
|
|
); |
|
|
|
|
|
|
|