fix: youhua
This commit is contained in:
@@ -32,7 +32,13 @@
|
||||
<el-table-column align="center" label="图片" width="200">
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.images && row.images.length" class="image-grid">
|
||||
<el-image v-for="(img, index) in row.images" :key="index" class="grid-image" :preview-src-list="row.images" :src="img" />
|
||||
<el-image
|
||||
v-for="(img, index) in row.images"
|
||||
:key="index"
|
||||
class="grid-image"
|
||||
:preview-src-list="row.images"
|
||||
:src="getThumbUrl(img)"
|
||||
/>
|
||||
</div>
|
||||
<span v-else>--</span>
|
||||
</template>
|
||||
@@ -41,7 +47,7 @@
|
||||
<el-table-column align="left" label="用户信息" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.fromUser && row.fromUser.id" 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>
|
||||
@@ -96,6 +102,7 @@
|
||||
<script>
|
||||
import { getUserFeedbackList } from '@/api/spring/user'
|
||||
import { formatTime } from '@/utils'
|
||||
import { getThumbUrl } from '@/utils/blessing'
|
||||
|
||||
export default {
|
||||
name: 'UserFeedback',
|
||||
@@ -118,6 +125,7 @@
|
||||
},
|
||||
methods: {
|
||||
formatTime,
|
||||
getThumbUrl,
|
||||
handleSizeChange(val) {
|
||||
this.queryForm.pageSize = val
|
||||
this.fetchData()
|
||||
|
||||
Reference in New Issue
Block a user