fix(过滤组件): 修复空数据搜索,若选中空数据进行筛选无法找到结果,设置默认参数为空数据前端没有显示被选中,点击查询可正常搜索的问题
This commit is contained in:
parent
3ee3e1b2e4
commit
a5ae6b4d5c
@ -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>
|
||||
|
||||
@ -300,7 +300,7 @@
|
||||
v-model="curComponent.style.showNum"
|
||||
:min="1"
|
||||
step-strictly
|
||||
:max="20"
|
||||
:max="10"
|
||||
controls-position="right"
|
||||
size="small"
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user