แก้ ที่อยู่ รับโอน component ทะเบียนบ้างส่วนประวัติ

This commit is contained in:
Thanit Konmek 2023-08-03 14:49:17 +07:00
parent e64b68c017
commit 8c1a5d9b23
17 changed files with 5864 additions and 25 deletions

View file

@ -1062,7 +1062,7 @@ const fetchProvince = async () => {
};
const fetchDistrict = async (id: string | null) => {
if (id !== null) {
if (id !== null && id != "") {
loaderPage(true);
await http
.get(config.API.listDistrict(id))
@ -1084,7 +1084,7 @@ const fetchDistrict = async (id: string | null) => {
};
const fetchSubDistrict = async (id: string | null) => {
if (id !== null) {
if (id !== null && id != "") {
loaderPage(true);
await http
.get(config.API.listSubDistrict(id))