From 8336d24b14dfd4489c580c21a41f2f0d1b40f4f2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 14 Jun 2024 09:46:51 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=20=3D>=20=20=E0=B8=82=E0=B9=89=E0=B8=AD?= =?UTF-8?q?=E0=B8=A1=E0=B8=B9=E0=B8=A5=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=A2=E0=B8=B9=E0=B9=88=20fix=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/04_registryNew/stores/Address.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modules/04_registryNew/stores/Address.ts b/src/modules/04_registryNew/stores/Address.ts index 394e5016c..6c8a834bb 100644 --- a/src/modules/04_registryNew/stores/Address.ts +++ b/src/modules/04_registryNew/stores/Address.ts @@ -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) => {