mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
fix(components): time picker when midnight (#5403)
This commit is contained in:
parent
0b7607cecf
commit
4d470d062c
@ -59,7 +59,7 @@
|
||||
disabled: listMap[item].value[time],
|
||||
}"
|
||||
>
|
||||
<template v-if="time">
|
||||
<template v-if="typeof time === 'number'">
|
||||
<template v-if="item === 'hours'">
|
||||
{{ ('0' + (amPmMode ? time % 12 || 12 : time)).slice(-2)
|
||||
}}{{ getAmPmFlag(time) }}
|
||||
|
Loading…
Reference in New Issue
Block a user