|
@@ -6,11 +6,11 @@ import {HIDE,RESET,ISREAD} from '@store/types/homePage.js';
|
|
|
import {getModule} from '@store/async-actions/fetchModules.js';
|
|
|
import {billing} from '@store/async-actions/pushMessage';
|
|
|
import {fullfillText} from '@common/js/func';
|
|
|
-import {didPushParamChange} from '@utils/tools.js';
|
|
|
+import {didPushParamChange,filterDataArr} from '@utils/tools.js';
|
|
|
|
|
|
function mapStateToProps(state){
|
|
|
const {otherHistory,homePage,typeConfig,mainSuit} = state;
|
|
|
- const hasMain = mainSuit.saveText.join('');//||mainSuit.data.length;
|
|
|
+ const hasMain = filterDataArr(mainSuit.saveText);//||mainSuit.data.length;
|
|
|
return {
|
|
|
data: otherHistory.data,
|
|
|
//initData:state.homePage.initData.otherHis,
|