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
aac60380
authored
Dec 01, 2023
by
Marvin
Committed by
YunaiV
Dec 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 跳转到例外一个标签页预览
parent
2a0b3295
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/views/infra/file/index.vue
+1
-1
No files found.
src/views/infra/file/index.vue
View file @
aac60380
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
preview-teleported
preview-teleported
fit=
"cover"
fit=
"cover"
/>
/>
<el-link
v-else-if=
"row.type.includes('pdf')"
type=
"primary"
:href=
"row.url"
:underline=
"false"
>
预览
</el-link>
<el-link
v-else-if=
"row.type.includes('pdf')"
type=
"primary"
:href=
"row.url"
:underline=
"false"
target=
"_blank"
>
预览
</el-link>
<el-link
v-else
type=
"primary"
download
:href=
"row.url"
:underline=
"false"
target=
"_blank"
>
下载
</el-link>
<el-link
v-else
type=
"primary"
download
:href=
"row.url"
:underline=
"false"
target=
"_blank"
>
下载
</el-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
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