feat: 添加preview路由用于文件预览
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m59s

- preview路由预览文件
- FilePreviewer组件
- 删除Document卡片的下载按钮,使用单独的页面用于文件下载
- preview布局
This commit is contained in:
2025-10-28 14:35:50 +08:00
parent 4e7131b291
commit ff143f980a
4 changed files with 195 additions and 7 deletions

View File

@ -16,13 +16,6 @@
>格式:
{{ formatFileExtension(getFileExtension(doc.filename)) }}</span
>
<el-button
class="download-button"
type="primary"
@click="handleDownload(doc.title, doc.url)"
>
下载
</el-button>
</div>
</div>
</el-card>