Element如何设置el-time-select最小时间

2025-06-02 14:28:15

1、打开一个vue文件,添加el-time-select时间选择器组件,设置默认值为11:30。如图

Element如何设置el-time-select最小时间
Element如何设置el-time-select最小时间

2、在组件上添加picker-options属性,在里面设置最小时间minTime为11:00。如图

Element如何设置el-time-select最小时间

3、保存vue文件后使用浏览器打开,即可看到el-time-select时间选择器小于11:00的时间不可选中。如图

Element如何设置el-time-select最小时间
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢