แก้ ที่อยู่ รับโอน component ทะเบียนบ้างส่วนประวัติ
This commit is contained in:
parent
e64b68c017
commit
8c1a5d9b23
17 changed files with 5864 additions and 25 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue