mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [date-picker] tagName judgement error (#15079)
* fix(components): [table] fix tests typo * fix(components): [date-picker] tagName judgement error --------- Co-authored-by: zhuangyufeng <zhuangyufeng@szkingdom.com>
This commit is contained in:
@@ -189,7 +189,7 @@ const handleMouseMove = (event: MouseEvent) => {
|
||||
if (!props.rangeState.selecting) return
|
||||
|
||||
let target = event.target as HTMLElement
|
||||
if (target.tagName === 'A') {
|
||||
if (target.tagName === 'SPAN') {
|
||||
target = target.parentNode?.parentNode as HTMLElement
|
||||
}
|
||||
if (target.tagName === 'DIV') {
|
||||
|
||||
Reference in New Issue
Block a user