fix: youhua

This commit is contained in:
zzc
2026-02-05 15:15:08 +08:00
parent 82b3d7a36d
commit 1867d5aa55
3 changed files with 37 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
</el-table-column>
<el-table-column align="center" label="保存类型" show-overflow-tooltip>
<template #default="{ row }">
{{ row.type === 1 ? '祝福卡片' : row.type === 2 ? '抽签' : row.type === 3 ? '壁纸' : '头像' }}
{{ getSceneName(row.scene) }}
</template>
</el-table-column>
<el-table-column align="left" label="信息" show-overflow-tooltip>
@@ -110,6 +110,7 @@
<script>
import { getSaveList } from '@/api/spring/user'
import { formatTime } from '@/utils'
import { getSceneName } from '@/utils/blessing'
export default {
name: 'SaveRecord',
@@ -140,6 +141,7 @@
},
methods: {
formatTime,
getSceneName,
setSelectRows(val) {
this.selectRows = val
},