From dfd448e379abb38056e7a55552c0f2b426634259 Mon Sep 17 00:00:00 2001 From: capdiem Date: Mon, 2 Sep 2024 10:02:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(DataTable):=20CellClass=20do?= =?UTF-8?q?esn't=20work=20on=20mobile=20(#2123)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/DataTable/MobileRow/MDataTableMobileRow.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Masa.Blazor/Components/DataTable/MobileRow/MDataTableMobileRow.razor b/src/Masa.Blazor/Components/DataTable/MobileRow/MDataTableMobileRow.razor index cef0e6a429..bfa9b4e49a 100644 --- a/src/Masa.Blazor/Components/DataTable/MobileRow/MDataTableMobileRow.razor +++ b/src/Masa.Blazor/Components/DataTable/MobileRow/MDataTableMobileRow.razor @@ -9,7 +9,7 @@ @{ if (header.Value != "data-table-select" && !HideDefaultHeader) { -
+
@if (HeaderColContent != null) { @HeaderColContent(header) @@ -22,7 +22,7 @@ } var props = new ItemColProps(header, Item); -
+
@if (HasSlot(props)) { @SlotContent(props)