mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-31 14:38:02 +00:00
Fixed: Filter Show (#4787)
This commit is contained in:
@@ -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">
|
||||
|
@@ -124,6 +124,7 @@ export default {
|
||||
const has =
|
||||
(this.quickFilters && this.quickFilters.length > 0) ||
|
||||
(this.quickSummary && this.quickSummary.length > 0)
|
||||
|
||||
return !!has
|
||||
},
|
||||
dataTable() {
|
||||
|
Reference in New Issue
Block a user