♻️Refactor: Token Page

This commit is contained in:
Apple\Apple
2025-05-23 00:24:08 +08:00
parent 0f3216564d
commit 67a65213d8
5 changed files with 630 additions and 423 deletions

View File

@@ -17,7 +17,7 @@ export function renderText(text, limit) {
export function renderGroup(group) {
if (group === '') {
return (
<Tag size='large' key='default' color='orange'>
<Tag size='large' key='default' color='orange' shape='circle'>
{i18next.t('用户分组')}
</Tag>
);
@@ -39,6 +39,7 @@ export function renderGroup(group) {
size='large'
color={tagColors[group] || stringToColor(group)}
key={group}
shape='circle'
onClick={async (event) => {
event.stopPropagation();
if (await copy(group)) {