Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -260,7 +260,6 @@ const handleAudioPlay = (item, index) => { | ... | @@ -260,7 +260,6 @@ const handleAudioPlay = (item, index) => { |
| 260 | const scrollToId = (index) => { // 滚动到指定元素 | 260 | const scrollToId = (index) => { // 滚动到指定元素 |
| 261 | nextTick(() => { | 261 | nextTick(() => { |
| 262 | const element = document.getElementById(index); | 262 | const element = document.getElementById(index); |
| 263 | - console.warn(element); | ||
| 264 | if (element) { | 263 | if (element) { |
| 265 | element.scrollIntoView({ behavior: "smooth", block: "start" }); | 264 | element.scrollIntoView({ behavior: "smooth", block: "start" }); |
| 266 | } | 265 | } | ... | ... |
-
Please register or login to post a comment