mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-29 03:01:25 +08:00
This commit is contained in:
@@ -4,9 +4,9 @@ import { formatBefore } from '@/utils/dateUtil';
|
||||
|
||||
export const columns = [
|
||||
{
|
||||
title: 'ID',
|
||||
title: '管理员ID',
|
||||
key: 'id',
|
||||
width: 60,
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '用户名',
|
||||
@@ -21,7 +21,7 @@ export const columns = [
|
||||
{
|
||||
title: '头像',
|
||||
key: 'avatar',
|
||||
width: 50,
|
||||
width: 70,
|
||||
render(row) {
|
||||
if (row.avatar !== '') {
|
||||
return h(NAvatar, {
|
||||
@@ -84,6 +84,22 @@ export const columns = [
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '余额',
|
||||
key: 'balance',
|
||||
width: 120,
|
||||
render(row) {
|
||||
return '¥' + Number(row.balance).toFixed(2);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '积分',
|
||||
key: 'integral',
|
||||
width: 120,
|
||||
render(row) {
|
||||
return Number(row.integral).toFixed(2);
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '状态',
|
||||
key: 'status',
|
||||
|
Reference in New Issue
Block a user