解决供应商导游在返回时没有读取的情况

release
Jimmy Liow 2 years ago
parent 93409625b3
commit ede6dfff8f

@ -112,6 +112,7 @@ function Newest() {
if (location.search !== '?back') {
//
onSearchClick(1, 1);
}
reservationStore.fetchAllGuideList()
.then((guideList) => {
const selectOptions = guideList.map((data, index) => {
@ -122,7 +123,6 @@ function Newest() {
});
setGuideSelectOptions(selectOptions);
});
}
return () => {
// unmount...
};

Loading…
Cancel
Save