|
|
@ -1,4 +1,4 @@
|
|
|
|
import { NavLink, useLocation } from 'react-router-dom'
|
|
|
|
import { NavLink } from 'react-router-dom'
|
|
|
|
import { useState, useEffect } from 'react'
|
|
|
|
import { useState, useEffect } from 'react'
|
|
|
|
import { Row, Col, Space, Button, Table, Typography, Modal, App, Select } from 'antd'
|
|
|
|
import { Row, Col, Space, Button, Table, Typography, Modal, App, Select } from 'antd'
|
|
|
|
import dayjs from 'dayjs'
|
|
|
|
import dayjs from 'dayjs'
|
|
|
@ -90,7 +90,6 @@ function Newest() {
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const location = useLocation()
|
|
|
|
|
|
|
|
const [isModalOpen, setIsModalOpen] = useState(false)
|
|
|
|
const [isModalOpen, setIsModalOpen] = useState(false)
|
|
|
|
const [dataLoading, setDataLoading] = useState(false)
|
|
|
|
const [dataLoading, setDataLoading] = useState(false)
|
|
|
|
const [guideSelectOptions, setGuideSelectOptions] = useState([])
|
|
|
|
const [guideSelectOptions, setGuideSelectOptions] = useState([])
|
|
|
@ -113,7 +112,7 @@ function Newest() {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
setGuideSelectOptions(selectOptions)
|
|
|
|
setGuideSelectOptions(selectOptions)
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}, [])
|
|
|
|
}, [fetchAllGuideList])
|
|
|
|
|
|
|
|
|
|
|
|
const showCityGuideModal = (reservation) => {
|
|
|
|
const showCityGuideModal = (reservation) => {
|
|
|
|
setDataLoading(true)
|
|
|
|
setDataLoading(true)
|
|
|
|