Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
19e32976
authored
Nov 25, 2023
by
Marvin
Committed by
YunaiV
Dec 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 文件列表增加图片的展示和预览
parent
55c64d9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
src/views/infra/file/index.vue
+11
-1
No files found.
src/views/infra/file/index.vue
View file @
19e32976
...
@@ -50,7 +50,17 @@
...
@@ -50,7 +50,17 @@
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
label=
"文件名"
align=
"center"
prop=
"name"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"文件名"
align=
"center"
prop=
"name"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"文件路径"
align=
"center"
prop=
"path"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"文件路径"
align=
"center"
prop=
"path"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"URL"
align=
"center"
prop=
"url"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"URL"
align=
"center"
prop=
"url"
width=
"110px"
>
<template
#
default=
"
{ row }">
<el-image
class=
"h-80px w-80px"
:src=
"row.url"
:preview-src-list=
"[row.url]"
preview-teleported
fit=
"cover"
/>
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"文件大小"
label=
"文件大小"
align=
"center"
align=
"center"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment