From 3618bea96c9a801aed9957f8a477232904f5601d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Thu, 23 Jan 2025 15:03:28 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B2=20=E0=B8=9F?= =?UTF-8?q?=E0=B8=AD=E0=B9=80=E0=B8=A1=E0=B9=87=E0=B8=95=20=E0=B8=AD?= =?UTF-8?q?=E0=B8=AD=E0=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/10_registry/01_Information/03_Address.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/modules/10_registry/01_Information/03_Address.vue b/src/modules/10_registry/01_Information/03_Address.vue index cd3b571..e953012 100644 --- a/src/modules/10_registry/01_Information/03_Address.vue +++ b/src/modules/10_registry/01_Information/03_Address.vue @@ -86,7 +86,6 @@ const columnsHistory = ref([ field: "registrationProvince", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -98,7 +97,6 @@ const columnsHistory = ref([ field: "registrationDistrict", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -110,7 +108,6 @@ const columnsHistory = ref([ field: "registrationSubDistrict", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -159,7 +156,6 @@ const columnsHistory = ref([ field: "currentProvince", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -171,7 +167,6 @@ const columnsHistory = ref([ field: "currentDistrict", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -183,7 +178,6 @@ const columnsHistory = ref([ field: "currentSubDistrict", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (v) => (v ? v.name : "-"), sort: (a: string, b: string) => a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }), }, @@ -273,6 +267,7 @@ function getHistory() { .then((res) => { const data = res.data.result; rowsHistory.value = data; + console.log("🚀 ~ .then ~ data:", data) rowsHistoryData.value = data; }) .catch((e) => {