แก้สมัครสอบ

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2025-01-05 21:58:32 +07:00
parent 88d84927d6
commit 7ba783f9a5
3 changed files with 6 additions and 6 deletions

View file

@ -602,7 +602,7 @@ const fetchDistrict = async (id: string) => {
await http
.get(config.API.listDistrict(id))
.then((res) => {
const data = res.data.result
const data = res.data.result.districts
let option: DataOption[] = []
data.map((r: DataOption) => {
option.push({ id: r.id.toString(), name: r.name.toString() })