From 3f467c8eb0f4fd7bf9a4ac46a7af3d3f43270a93 Mon Sep 17 00:00:00 2001 From: shtse8 Date: Thu, 14 Mar 2024 18:16:48 +0800 Subject: [PATCH 1/3] Correct rowClass type on DataTable to Function --- components/lib/datatable/BaseDataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index bc565808f..69dc83ba3 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -211,7 +211,7 @@ export default { default: null }, rowClass: { - type: [String, Object], + type: [Function], default: null }, rowStyle: { From c4a8d4ce83af033935e192605a3116e0e2ec10ae Mon Sep 17 00:00:00 2001 From: shtse8 Date: Thu, 14 Mar 2024 18:23:02 +0800 Subject: [PATCH 2/3] Fix rowClass prop type in BaseDataTable.vue --- components/lib/datatable/BaseDataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index 69dc83ba3..ec6e1fa5d 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -211,7 +211,7 @@ export default { default: null }, rowClass: { - type: [Function], + type: Function, default: null }, rowStyle: { From ce102fa62405281bca1f8e9c0a3b509483547377 Mon Sep 17 00:00:00 2001 From: shtse8 Date: Thu, 14 Mar 2024 18:29:43 +0800 Subject: [PATCH 3/3] Change rowStyle prop type to Function --- components/lib/datatable/BaseDataTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index ec6e1fa5d..590947023 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -215,7 +215,7 @@ export default { default: null }, rowStyle: { - type: Object, + type: Function, default: null }, scrollable: {