mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
style(date-picker): date-picker-com conditional judgment (#1823)
This commit is contained in:
parent
834147c1cc
commit
d2ce2604c8
@ -374,7 +374,7 @@ export default defineComponent({
|
||||
|
||||
const isValidValue = value => {
|
||||
return Array.isArray(value) &&
|
||||
value && value[0] && value[1] &&
|
||||
value[0] && value[1] &&
|
||||
value[0].valueOf() <= value[1].valueOf()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user