fix: youhua
This commit is contained in:
@@ -29,7 +29,12 @@
|
||||
<el-table-column align="center" label="保存内容" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip class="item" :content="scope.row.id" effect="dark" placement="top">
|
||||
<el-image fit="cover" :preview-src-list="[scope.row.imageUrl]" :src="scope.row.imageUrl" style="width: 50px; height: 50px" />
|
||||
<el-image
|
||||
fit="cover"
|
||||
:preview-src-list="[scope.row.imageUrl]"
|
||||
:src="getThumbUrl(scope.row.imageUrl)"
|
||||
style="width: 50px; height: 50px"
|
||||
/>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -69,7 +74,7 @@
|
||||
<el-table-column align="left" label="作者信息" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div class="author-cell">
|
||||
<img alt="avatar" class="author-avatar" :src="row?.fromUser?.avatar" />
|
||||
<img alt="avatar" class="author-avatar" :src="getThumbUrl(row?.fromUser?.avatar)" />
|
||||
<div class="author-meta">
|
||||
<div>
|
||||
<strong>id:</strong>
|
||||
@@ -110,7 +115,7 @@
|
||||
<script>
|
||||
import { getSaveList } from '@/api/spring/user'
|
||||
import { formatTime } from '@/utils'
|
||||
import { getSceneName } from '@/utils/blessing'
|
||||
import { getSceneName, getThumbUrl } from '@/utils/blessing'
|
||||
|
||||
export default {
|
||||
name: 'SaveRecord',
|
||||
@@ -142,6 +147,7 @@
|
||||
methods: {
|
||||
formatTime,
|
||||
getSceneName,
|
||||
getThumbUrl,
|
||||
setSelectRows(val) {
|
||||
this.selectRows = val
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user