ElementUI 的日期选择器及相关组件
...小于 1 分钟
分析日期组件源码
主要目录结构
date-picker
- src
- basic
- date-table.vue # 日期选择表格
- month-table.vue # 月份选择表格
- time-spinner.vue # 时间选择划片
- year-table.vue # 年份选择表格
- panel
- date-range.vue #
- date.vue #
- month-range.vue #
- time-range.vue #
- time-select.vue #
- time.vue #
- picker
- date-picker.js #
- time-picker.js #
- time-select.js #
picker.vue
- index.js # date-picker/src/picker/date-picker
time-picker
- index.js # date-picker/src/picker/time-picker
思路梳理