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, width: 120,
}, },
{ {
title: '用户', title: '小程序用户',
dataIndex: 'user', 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, hideInSearch: true,
render: (_, record) => { render: (_, record) => {
return ( return (
<a onClick={() => { <a onClick={() => {
setcurrentRow(record); Modal.info({
seteditFromVisible(true); title: '信息', content: (
}}>{record.user_name || record.user_id}</a> <div>
<p>email{record.site_email}</p>
</div>
), okText: '关闭', width: 400
});
}}>{record.site_user_id}{record.site_user_name && `(${record.site_user_name})`}</a>
); );
} }
}, },