add test code for reading pdf files

This commit is contained in:
RockYang
2024-06-26 18:50:48 +08:00
parent 2526feb0d9
commit 88e510d07a
11 changed files with 155 additions and 15 deletions

View File

@@ -12,7 +12,9 @@
<el-image :src="GetFileIcon(file.ext)" fit="cover" />
</div>
<div class="body">
<div class="title">{{substr(file.name, 30)}}</div>
<div class="title">
<el-link :href="file.url" target="_blank" style="--el-font-weight-primary:bold">{{substr(file.name, 30)}}</el-link>
</div>
<div class="info">
<span>{{GetFileType(file.ext)}}</span>
<span>{{FormatFileSize(file.size)}}</span>
@@ -87,7 +89,6 @@ const removeFile = (file) => {
margin-left 5px
font-size 14px
.title {
font-weight bold
line-height 24px
color #0D0D0D
}