fix: 修改不规范变量名称
This commit is contained in:
parent
a3394c7a24
commit
f4d1a8da6c
|
@ -67,7 +67,7 @@
|
||||||
:filterable="item.filterable"
|
:filterable="item.filterable"
|
||||||
:cell-class="item.cellClass"
|
:cell-class="item.cellClass"
|
||||||
:header-cell-class="`${
|
:header-cell-class="`${
|
||||||
item.headerCellClass || (item.filterConfig && isHeighten) ? 'header-cell-filter' : ''
|
item.headerCellClass || (item.filterConfig && isHighlightFilterBackground) ? 'header-cell-filter' : ''
|
||||||
}`"
|
}`"
|
||||||
:body-cell-class="item.bodyCellClass"
|
:body-cell-class="item.bodyCellClass"
|
||||||
:summary-cell-class="item.summaryCellClass"
|
:summary-cell-class="item.summaryCellClass"
|
||||||
|
@ -85,7 +85,9 @@
|
||||||
<div
|
<div
|
||||||
v-if="item.title"
|
v-if="item.title"
|
||||||
:class="`${
|
:class="`${
|
||||||
item.filterConfig && isHeighten ? 'text-[rgb(var(--primary-5))]' : 'text-[var(--color-text-3)]'
|
item.filterConfig && isHighlightFilterBackground
|
||||||
|
? 'text-[rgb(var(--primary-5))]'
|
||||||
|
: 'text-[var(--color-text-3)]'
|
||||||
} pl-1`"
|
} pl-1`"
|
||||||
>{{ t(item.title as string) }}</div
|
>{{ t(item.title as string) }}</div
|
||||||
>
|
>
|
||||||
|
@ -639,9 +641,9 @@
|
||||||
batchLeft.value = getBatchLeft();
|
batchLeft.value = getBatchLeft();
|
||||||
});
|
});
|
||||||
|
|
||||||
const isHeighten = ref<boolean>(false);
|
const isHighlightFilterBackground = ref<boolean>(false);
|
||||||
function showFilter(visible: boolean) {
|
function showFilter(visible: boolean) {
|
||||||
isHeighten.value = visible;
|
isHighlightFilterBackground.value = visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|
Loading…
Reference in New Issue