fix: Prevent page to scroll to top during data HMR (#35739)
This commit is contained in:
parent
ced2040661
commit
cae9506fd4
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ initialize({ webpackHMR })
|
|||
new URLSearchParams(location.search)
|
||||
)
|
||||
),
|
||||
router.asPath
|
||||
router.asPath,
|
||||
{ scroll: false }
|
||||
)
|
||||
.finally(clearIndicator)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue