Fixed: Filter Show (#4787)

This commit is contained in:
fit2bot
2025-03-13 16:16:42 +08:00
committed by GitHub
parent 2896dfe3b1
commit 2254ad80b4
2 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,10 @@
<template>
<div v-show="isExpand">
<div v-if="filters || summary" :class="isExpand ? 'expand': 'shrink' " class="quick-filter">
<div
v-if="(filters && filters.length > 0) || (summary && summary.length > 0)"
:class="isExpand ? 'expand': 'shrink' "
class="quick-filter"
>
<div v-show="isExpand" class="quick-filter-wrap">
<div v-if="filters" class="quick-filter-zone">
<div v-for="category in iFilters" :key="category.label" class="item-zone">

View File

@@ -124,6 +124,7 @@ export default {
const has =
(this.quickFilters && this.quickFilters.length > 0) ||
(this.quickSummary && this.quickSummary.length > 0)
return !!has
},
dataTable() {