&& 丢失

This commit is contained in:
liaoxuezhi 2019-07-12 17:21:58 +08:00
parent 25551de1d0
commit 845f761a3b

View File

@ -88,7 +88,7 @@ export default class Service extends React.Component<ServiceProps> {
}
} = props;
isApiOutdated(prevProps.api, props.api, prevProps.data, props.data)
isApiOutdated(prevProps.api, props.api, prevProps.data, props.data) &&
store.fetchData(props.api as Api, store.data, {
successMessage: fetchSuccess,
errorMessage: fetchFailed