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) => {