修复bug

This commit is contained in:
X1627315083
2024-07-09 19:10:01 +08:00
parent 398a617a63
commit e876abf3df
7 changed files with 79 additions and 52 deletions

View File

@@ -292,12 +292,14 @@ export default defineComponent({
},
//教程
getTutorial(){
let url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-使用手册-0705.pptx'
let url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-使用手册-0705.pdf'
if(this.locale == 'ENGLISH'){
url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-Manual-0705.pptx'
url = 'https://code-create.com.hk/wp-content/uploads/2024/07/aida_3.0-Manual-0705.pdf'
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4'})
}else{
showViewVideo({url:'https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4'})
}
//打开视频
// showViewVideo('https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4')
const a = document.createElement('a');
a.href = url;
a.download = 'aida_3.0-Manual.pptx'; // 下载的文件名