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