ทะเบียนประวัติ => ข้อมูลที่อยู่ fix bug
This commit is contained in:
parent
acb8da2684
commit
8336d24b14
1 changed files with 5 additions and 5 deletions
|
|
@ -132,17 +132,17 @@ export const useAddressDataStore = defineStore("addess", () => {
|
|||
let option: zipCodeOption[] = [];
|
||||
data.subDistricts.map((r: any) => {
|
||||
option.push({
|
||||
id: r.id.toString(),
|
||||
name: r.name.toString(),
|
||||
zipCode: r.zipCode.toString(),
|
||||
id: r.id,
|
||||
name: r.name,
|
||||
zipCode: r.zipCode,
|
||||
});
|
||||
});
|
||||
if (position == "1") {
|
||||
Ops.value.subdistrictOps = option;
|
||||
OpsFilter.value.subdistrictOps = option;
|
||||
Ops.value.subdistrictOps = option;
|
||||
} else {
|
||||
Ops.value.subdistrictCOps = option;
|
||||
OpsFilter.value.subdistrictCOps = option;
|
||||
Ops.value.subdistrictCOps = option;
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue