export function getArrCities() {
return dispatch=>
bridge.httpPlugins.startRequest({
"serviceURL": "/Bus/Handler/OfficialCarHandler.ashx",
"serviceName": "getcitylist",
"withLoadingDialog": 0,
"cancelable": 0 / 1,
"loadingTitle": "奋力加载中",
"bodyParams": {
"queryType": "arrival",
}
},
function (json) {
dispatch({
type: types.GET_ARRCITIES,
arrCities: JSON.parse(json.body)
})
})
}
当数据返回的时候并不会出发reduce里面的值改变,还有几天就咬上线,。。。