Commit 5631a49c authored by cinwell.li's avatar cinwell.li Committed by baiyaaaaa

DatePicker: fix time spinner style (#2961)

parent 61672ce0
......@@ -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%;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment