调整下载教程的文件名
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user