Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-27 12:57:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3368fbff653e584e39701af59f4414eac58d5185
3368fbff
1 parent
37412471
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
src/components/audioList.vue
src/components/audioList.vue
View file @
3368fbf
...
...
@@ -260,7 +260,6 @@ const handleAudioPlay = (item, index) => {
const scrollToId = (index) => { // 滚动到指定元素
nextTick(() => {
const element = document.getElementById(index);
console.warn(element);
if (element) {
element.scrollIntoView({ behavior: "smooth", block: "start" });
}
...
...
Please
register
or
login
to post a comment