mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [tree-v2] component activation content not displayed (#17511)
This commit is contained in:
parent
2082247ebb
commit
fe0d162193
@ -5,6 +5,7 @@ import {
|
||||
getCurrentInstance,
|
||||
h,
|
||||
nextTick,
|
||||
onActivated,
|
||||
onMounted,
|
||||
onUpdated,
|
||||
ref,
|
||||
@ -410,6 +411,10 @@ const createList = ({
|
||||
}
|
||||
})
|
||||
|
||||
onActivated(() => {
|
||||
unref(windowRef).scrollTop = unref(states).scrollOffset
|
||||
})
|
||||
|
||||
const api = {
|
||||
ns,
|
||||
clientSize,
|
||||
|
Loading…
Reference in New Issue
Block a user