取消自动刷新

release
YCC 2 years ago
parent de5fc707b6
commit 0352fc9f5d

@ -48,15 +48,15 @@ function Index() {
const showTotal = total => `Total ${feedbackList.length} items`; const showTotal = total => `Total ${feedbackList.length} items`;
useEffect(() => { useEffect(() => {
feedbackStore.searchFeedbackList(authStore.login.travelAgencyId, referenceNo, search_date_start.format(config.DATE_FORMAT), search_date_end.format(config.DATE_FORMAT) + " 23:59").catch(ex => { // feedbackStore.searchFeedbackList(authStore.login.travelAgencyId, referenceNo, search_date_start.format(config.DATE_FORMAT), search_date_end.format(config.DATE_FORMAT) + " 23:59").catch(ex => {
// notification.error({ // // notification.error({
// message: `Error`, // // message: `Error`,
// description: ex.message, // // description: ex.message,
// placement: 'top', // // placement: 'top',
// duration: 4, // // duration: 4,
// }); // // });
console.log(ex.message); // console.log(ex.message);
}); // });
}, []); }, []);
return ( return (

Loading…
Cancel
Save