mirror of https://github.com/ElemeFE/element
DatePicker: fix time spinner style (#2961)
parent
61672ce0e2
commit
5631a49c64
|
@ -145,7 +145,7 @@ export const limitRange = function(date, ranges) {
|
|||
if (!ranges || !ranges.length) return date;
|
||||
|
||||
const len = ranges.length;
|
||||
const format = 'yyyy-MM-dd HH:mm:ss';
|
||||
const format = 'HH:mm:ss';
|
||||
|
||||
date = dateUtil.parse(dateUtil.format(date, format), format);
|
||||
for (let i = 0; i < len; i++) {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
|
||||
.el-time-spinner__wrapper:nth-child(2) {
|
||||
padding-left: 1%;
|
||||
margin-left: 1%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue