el-date-picker关闭清楚按钮
时间: 2023-10-05 15:10:36 浏览: 174
在使用el-date-picker组件时,可以通过设置clearable属性为false来关闭清除按钮。 默认情况下,clearable属性为true,表示显示清除按钮。 例如:<el-date-picker v-model="value" type="daterange" :clearable="false"></el-date-picker>。 这样设置后,清除按钮将不再显示。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Element-ui踩坑记录 DatePicker 日期选择器](https://blog.csdn.net/weixin_43827743/article/details/108736256)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [点击文本框中按钮弹出日期](https://download.csdn.net/download/xyl36500/2701903)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文