From f4d1a8da6c7fb9672446225d75ef5088c122c0b7 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Sat, 11 May 2024 11:02:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=B8=8D=E8=A7=84?= =?UTF-8?q?=E8=8C=83=E5=8F=98=E9=87=8F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/pure/ms-table/base-table.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index fa456dabf9..144ba3569e 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -67,7 +67,7 @@ :filterable="item.filterable" :cell-class="item.cellClass" :header-cell-class="`${ - item.headerCellClass || (item.filterConfig && isHeighten) ? 'header-cell-filter' : '' + item.headerCellClass || (item.filterConfig && isHighlightFilterBackground) ? 'header-cell-filter' : '' }`" :body-cell-class="item.bodyCellClass" :summary-cell-class="item.summaryCellClass" @@ -85,7 +85,9 @@
{{ t(item.title as string) }}
@@ -639,9 +641,9 @@ batchLeft.value = getBatchLeft(); }); - const isHeighten = ref(false); + const isHighlightFilterBackground = ref(false); function showFilter(visible: boolean) { - isHeighten.value = visible; + isHighlightFilterBackground.value = visible; } watch(