mint-ui使用过程遇到的问题

Freda ·
更新时间:2024-09-21
· 500 次阅读

日期选择设置开始和结束时间 data() { return { pickerValue: new Date(),//日期选择器初始值 startDate: new Date(new Date().getFullYear() - 50, 0, 1), endDate: new Date() } }, 自定义时间选择器,比如:只显示年月 openPicker() { this.$refs.picker.open(); // 隐藏日 this.$refs.picker.$el.getElementsByClassName('picker-slot')[2].style.display = 'none' },
作者:蘑菇李



mint-ui mint

需要 登录 后方可回复, 如果你还没有账号请 注册新账号
相关文章