feat: 参考原型图 ui优化提交 企业端-企业中心 相关的页面

This commit is contained in:
zhanjunhao
2026-11-06 20:19:43 +08:00
parent bc6af74e9e
commit d58e468969
147 changed files with 9816 additions and 8768 deletions
+4 -4
View File
@@ -258,7 +258,7 @@ export const useTokensData = (openFluentNotification) => {
// Batch delete tokens
const batchDeleteTokens = async () => {
if (selectedKeys.length === 0) {
showError(t('请先选择要删除的令牌!'));
showError(t('请先选择要删除的密钥!'));
return;
}
setLoading(true);
@@ -267,7 +267,7 @@ export const useTokensData = (openFluentNotification) => {
const res = await API.post('/api/token/batch', { ids });
if (res?.data?.success) {
const count = res.data.data || 0;
showSuccess(t('已删除 {{count}} 个令牌!', { count }));
showSuccess(t('已删除 {{count}} 个密钥!', { count }));
await refresh();
setTimeout(() => {
if (tokens.length === 0 && activePage > 1) {
@@ -287,12 +287,12 @@ export const useTokensData = (openFluentNotification) => {
// Batch copy tokens
const batchCopyTokens = (copyType) => {
if (selectedKeys.length === 0) {
showError(t('请至少选择一个令牌!'));
showError(t('请至少选择一个密钥!'));
return;
}
Modal.info({
title: t('复制令牌'),
title: t('复制密钥'),
icon: null,
content: t('请选择你的复制方式'),
footer: (