mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 20:58:22 +08:00
fix(components): [time-picker] fix end-time can't be callback (#9669)
* fix(components): [time-picker] fix end-time can't be return callback closed #9460 * fix(components): [time-picker] fix end-time can't be return callback BREAKING CHANGE : no closed #9460 * refactor(components): rewrite code * refactor(components): reback test code
This commit is contained in:
parent
d38e8b8174
commit
f6d4574238
@ -169,7 +169,7 @@
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, nextTick, provide, ref, unref, watch } from 'vue'
|
||||
import { isEqual } from 'lodash-unified'
|
||||
import { isEqual, isNil } from 'lodash-unified'
|
||||
import { onClickOutside } from '@vueuse/core'
|
||||
import {
|
||||
useFormItem,
|
||||
@ -367,7 +367,7 @@ const handleFocusInput = (e?: FocusEvent) => {
|
||||
) {
|
||||
return
|
||||
}
|
||||
pickerVisible.value = true
|
||||
pickerVisible.value = isNil(e?.relatedTarget)
|
||||
emit('focus', e)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user