fix: SecurityMiddleware

This commit is contained in:
zzc
2026-02-27 23:04:29 +08:00
parent ce3a5f9c34
commit 903581937a
4 changed files with 152 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
<el-table-column align="center" label="图片" width="100">
<template slot-scope="scope">
<el-tooltip class="item" :content="scope.row.name" effect="dark" placement="top">
<img alt="image" :src="scope.row.url" style="width: 50px; height: 50px; object-fit: cover" />
<el-image fit="cover" :preview-src-list="[scope.row.url]" :src="getThumbUrl(scope.row.url)" style="width: 50px; height: 50px" />
</el-tooltip>
</template>
</el-table-column>
@@ -56,6 +56,7 @@
<script>
import { getList } from '@/api/uploadedFileManagement'
import { formatTime } from '@/utils'
import { getThumbUrl } from '@/utils/blessing'
export default {
name: 'UploadedFileManagement',
@@ -84,6 +85,7 @@
},
methods: {
formatTime,
getThumbUrl,
setSelectRows(val) {
this.selectRows = val
},