fix(过滤组件): 修复空数据搜索,若选中空数据进行筛选无法找到结果,设置默认参数为空数据前端没有显示被选中,点击查询可正常搜索的问题

This commit is contained in:
dataeaseShu 2024-04-03 14:47:40 +08:00
parent 3ee3e1b2e4
commit a5ae6b4d5c
2 changed files with 7 additions and 7 deletions

View File

@ -7,20 +7,20 @@
<template v-for="item in options">
<el-radio
:key="item.id + 'radio'"
:label="item.text"
:label="item.id"
class="is-custom-select"
:value="item.id"
v-if="radioStyle.showStyle === 'single'"
:disabled="itemDisabled"
/>
>{{ item.text }}</el-radio
>
<el-radio-button
v-else
:disabled="itemDisabled"
:key="item.id + 'tab'"
class="is-custom-select"
:label="item.text"
:value="item.id"
/>
:label="item.id"
>{{ item.text }}</el-radio-button
>
</template>
</el-radio-group>
</template>

View File

@ -300,7 +300,7 @@
v-model="curComponent.style.showNum"
:min="1"
step-strictly
:max="20"
:max="10"
controls-position="right"
size="small"
/>