fix: SecurityMiddleware
This commit is contained in:
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user