♻️Refactor: Users Page

This commit is contained in:
Apple\Apple
2025-05-23 17:12:17 +08:00
parent 9a6c540013
commit 6d11fbee89
3 changed files with 292 additions and 230 deletions

View File

@@ -1,20 +1,10 @@
import React from 'react';
import UsersTable from '../../components/UsersTable';
import { Layout } from '@douyinfe/semi-ui';
import { useTranslation } from 'react-i18next';
const User = () => {
const { t } = useTranslation();
return (
<>
<Layout>
<Layout.Header>
<h3>{t('管理用户')}</h3>
</Layout.Header>
<Layout.Content>
<UsersTable />
</Layout.Content>
</Layout>
<UsersTable />
</>
);
};