调整下载教程的文件名
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
<!-- <img src="http://121.40.53.210:3000/falls/5.png" alt=""> -->
|
<!-- <img src="http://121.40.53.210:3000/falls/5.png" alt=""> -->
|
||||||
<div class="falls_item_user_detail">
|
<div class="falls_item_user_detail">
|
||||||
<span>@{{ item.userName }}</span>
|
<span>@{{ item.userName }}</span>
|
||||||
<div>{{item.portfolioName}}</div>
|
<div :title="item.portfolioName">{{item.portfolioName}}</div>
|
||||||
<!-- <span :title="item.portfolioDes">{{item.portfolioDes}}</span> -->
|
<!-- <span :title="item.portfolioDes">{{item.portfolioDes}}</span> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -344,18 +344,17 @@ export default defineComponent({
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
color: #000;
|
color: #000;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
>div{
|
>div{
|
||||||
|
width: 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
display: flex;
|
overflow: hidden;
|
||||||
align-items: center;
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
span{
|
span{
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ export default defineComponent({
|
|||||||
// showViewVideo('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');
|
const a = document.createElement('a');
|
||||||
a.href = url;
|
a.href = url;
|
||||||
a.download = 'presentation.pptx'; // 下载的文件名
|
a.download = 'aida_3.0-Manual.pptx'; // 下载的文件名
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
a.click();
|
a.click();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user