搜索区input、select增加清除按钮配置
This commit is contained in:
parent
c7a454541d
commit
6a473b1a6e
|
@ -4,7 +4,7 @@
|
|||
<a-col :md="6" :sm="24" v-for="(item, index) in list" :key="index">
|
||||
<a-form-item :label="item.placeholder" :style="{marginBottom: '8px'}">
|
||||
<!-- input -->
|
||||
<a-input v-if="item.type === 'input'" v-model="form[item.key]" :type="item.type || 'text'" :placeholder="item.placeholder || '请输入'" />
|
||||
<a-input v-if="item.type === 'input'" v-model="form[item.key]" :type="item.type || 'text'" :placeholder="item.placeholder || '请输入'" :allowClear="true" />
|
||||
|
||||
<!-- select-common -->
|
||||
<a-select v-if="item.type === 'select'" v-model="form[item.key]" placeholder="请选择">
|
||||
|
|
Loading…
Reference in New Issue