fix: site use shown

This commit is contained in:
ckaaaa 2025-09-19 12:55:34 +08:00
parent f61c744a30
commit bc1a0852d2
2 changed files with 7575 additions and 5811 deletions

13360
pnpm-lock.yaml generated

File diff suppressed because it is too large Load diff

View file

@ -73,16 +73,32 @@ const TableList = () => {
width: 120,
},
{
title: '用户',
title: '小程序用户',
dataIndex: 'user',
width: 100,
width: 140,
hideInSearch: true,
render: (_, record) => {
return (
<span>{record.user_id}{record.user_name && `(${record.user_name})`}</span>
);
}
},
{
title: '官网用户',
dataIndex: 'site_user',
width: 140,
hideInSearch: true,
render: (_, record) => {
return (
<a onClick={() => {
setcurrentRow(record);
seteditFromVisible(true);
}}>{record.user_name || record.user_id}</a>
Modal.info({
title: '信息', content: (
<div>
<p>email{record.site_email}</p>
</div>
), okText: '关闭', width: 400
});
}}>{record.site_user_id}{record.site_user_name && `(${record.site_user_name})`}</a>
);
}
},