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-30 17:07:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9055341284aeebb5e530dcb5d0e670fbfa25c287
90553412
1 parent
4c8c75ac
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
src/views/bieyuan/info.vue
src/views/bieyuan/info.vue
View file @
9055341
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-30 1
6:46:08
* @LastEditTime: 2024-10-30 1
7:06:05
* @FilePath: /map-demo/src/views/bieyuan/info.vue
* @Description: 文件描述
-->
...
...
@@ -235,7 +235,16 @@ onMounted(async () => {
})
// 如果是从浮动窗口点击进来音频播放,自动打开
if ($route.query.source === 'click_audio') {
setTimeout(() => {
audio_list_height.value = (0.2 * window.innerHeight);
// 修改当前路由参数,避免刷新再次播放
$router.push({
query: {
...$route.query,
source: ''
}
});
}, 500);
}
});
...
...
Please
register
or
login
to post a comment