|
@@ -10,6 +10,7 @@ import {SETOTHERHISTORY,ISREAD} from "../types/homePage";
|
|
|
import {SAVE_TABLE_RESULT,SET_CHRONIC_PUSHS} from "../types/pushMessage";
|
|
|
import config from "@config/index";
|
|
|
import {CURRENT_CHRONIC} from '@store/types/currentIll';
|
|
|
+import {MODI_LOADING} from '@store/types/homePage.js';
|
|
|
|
|
|
const api={
|
|
|
getSpreadModule:'/questionInfo/getByIds',
|
|
@@ -154,6 +155,7 @@ export function getInitData(){
|
|
|
};
|
|
|
json(api.getBigPush,param).then((res)=>{
|
|
|
if(+res.data.code === 0){
|
|
|
+ dispatch({type:MODI_LOADING,flag:false});
|
|
|
const data = res.data.data&&res.data.data.vital;
|
|
|
const str = JSON.stringify(data);
|
|
|
const arr = fullfillText(JSON.parse(str),false,false,false).newArr;
|