搜索区组件 select-dictionary-tree 支持清除按钮
This commit is contained in:
parent
4af0bfb066
commit
75c74adca2
|
@ -17,7 +17,7 @@
|
|||
</a-select>
|
||||
|
||||
<!-- select-dictionary-tree -->
|
||||
<a-tree-select v-if="item.type === 'select-dic-tree'" v-model="form[item.key]" :tree-data="item.options" placeholder="请选择" :multiple="item.mode ? true : false"></a-tree-select>
|
||||
<a-tree-select v-if="item.type === 'select-dic-tree'" v-model="form[item.key]" :tree-data="item.options" placeholder="请选择" :allowClear="true" :multiple="item.mode ? true : false"></a-tree-select>
|
||||
|
||||
<!-- date -->
|
||||
<a-date-picker v-if="item.type === 'date'" v-model="form[item.key]" style="width: 100%" :format="item.format" :valueFormat="item.format" :placeholder="item.placeholder || '请输入日期'" />
|
||||
|
|
Loading…
Reference in New Issue