fix(anchor)

This commit is contained in:
songwanli2025@163.com 2020-03-04 14:00:46 +08:00
parent ceaf93f533
commit 32b9bda0f0

View File

@ -159,7 +159,7 @@ export default {
this.activeHref = href
const top = getOffset(linkEl, this.container).top + (this.container.scrollTop || 0)
this.container.scrollTo({
top: top - this.bound
top: top
})
if (!transition) {
this.disableTransitionOneTick()