ต่อ api history

This commit is contained in:
AnandaTon 2023-11-20 18:01:34 +07:00
parent dcc426268d
commit a23114b269
3 changed files with 53 additions and 48 deletions

View file

@ -27,7 +27,7 @@ onMounted(() => {
const fetchlistHistory = async () => {
showLoader()
await http
.get(config.API.history())
.get(config.API.history() + '?year=2023&page=1&pageSize=5&keyword=')
.then((res) => {
const data = res.data.result
fetchHistoryList(data)