Commit fb1d004c authored by yht15023815643's avatar yht15023815643

样式

parent 4d95f73c
...@@ -312,8 +312,8 @@ export default { ...@@ -312,8 +312,8 @@ export default {
anchorClick(i) { anchorClick(i) {
var a = document.getElementById('anchor-'+i) var a = document.getElementById('anchor-'+i)
a.scrollIntoView() a.scrollIntoView()
document.body.scrollTop += -56 // document.body.scrollTop += -40
document.documentElement.scrollTop += -56 // document.documentElement.scrollTop += -40
setTimeout(() => { setTimeout(() => {
this.anchorIndex = i this.anchorIndex = i
}, 1); }, 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment