调整下载教程的文件名

This commit is contained in:
X1627315083
2024-07-08 17:04:32 +08:00
parent e9888e706a
commit 28ffa57fde
2 changed files with 6 additions and 7 deletions

View File

@@ -30,7 +30,7 @@
<!-- <img src="http://121.40.53.210:3000/falls/5.png" alt=""> -->
<div class="falls_item_user_detail">
<span>@{{ item.userName }}</span>
<div>{{item.portfolioName}}</div>
<div :title="item.portfolioName">{{item.portfolioName}}</div>
<!-- <span :title="item.portfolioDes">{{item.portfolioDes}}</span> -->
</div>
</div>
@@ -344,18 +344,17 @@ export default defineComponent({
line-height: 1;
width: 60%;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #000;
display: flex;
flex-direction: column;
align-items: flex-start;
>div{
width: 100%;
font-size: 16px;
display: flex;
align-items: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
span{
font-size: 12px;

View File

@@ -300,7 +300,7 @@ export default defineComponent({
// showViewVideo('https://code-create.com.hk/wp-content/uploads/2022/11/aida_video.mp4')
const a = document.createElement('a');
a.href = url;
a.download = 'presentation.pptx'; // 下载的文件名
a.download = 'aida_3.0-Manual.pptx'; // 下载的文件名
document.body.appendChild(a);
a.click();
},