Merge pull request #8431 from dataease/pr@dev@perf_filter_select

feat(过滤组件): 下拉多选过滤组件增加一键清除按钮 close #8152
This commit is contained in:
fit2cloud-chenyw 2024-03-11 15:14:37 +08:00 committed by GitHub
commit 927dde6589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
v-model="value"
:class-id="'visual-' + element.id + '-' + inDraw + '-' + inScreen"
:collapse-tags="showNumber"
:clearable="!element.options.attrs.multiple && (inDraw || !selectFirst)"
:clearable="(inDraw || !selectFirst)"
:multiple="element.options.attrs.multiple"
:placeholder="showRequiredTips ? $t('panel.required_tips') : ($t(element.options.attrs.placeholder) + placeholderSuffix)"
:popper-append-to-body="inScreen"