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-15 16:40:05 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1b0089b14ec7b069c61a5998f15302811696debd
1b0089b1
1 parent
6b3a070e
打开音频列表时,自动打开第一个音频
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/components/audioList.vue
src/components/audioList.vue
View file @
1b0089b
...
...
@@ -69,6 +69,12 @@ watch(
(v) => {
info_height.value = v;
anchors.value = [(0.2 * window.innerHeight), (0.5 * window.innerHeight)];
if (v) {
// 自动打开第一个
handleAudioPlay(audio_list.value[0], 0);
} else {
onClose();
}
}
)
watch(
...
...
Please
register
or
login
to post a comment