|
@@ -644,7 +644,6 @@ new Vue({
|
|
}
|
|
}
|
|
const to = document.getElementById($event.href.substr(1, $event.href.length))
|
|
const to = document.getElementById($event.href.substr(1, $event.href.length))
|
|
to.scrollIntoView({ behavior: "smooth" }) // 滚动到指定位置
|
|
to.scrollIntoView({ behavior: "smooth" }) // 滚动到指定位置
|
|
- // this.scrollToDom(to, window)
|
|
|
|
},
|
|
},
|
|
// 滚动函数
|
|
// 滚动函数
|
|
scrollToDom(to, container) {
|
|
scrollToDom(to, container) {
|