fix(ui): 修复登录与并发请求并统一表格、主题和页面展示

验证:868 项单测、ESLint、Prettier、UI 依赖审计和差异检查通过。
This commit is contained in:
zhanjunhao
2026-11-19 18:58:46 +08:00
parent 99fe167103
commit 13105bdba5
128 changed files with 4672 additions and 5391 deletions
+3 -2
View File
@@ -16,6 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import { formatPercent } from '../../helpers/safeDisplay';
import React, { useMemo, useState, useEffect, useCallback } from 'react';
import { Card, Spin, Tag, Progress } from '@/components/ui';
@@ -130,7 +131,7 @@ const UserSurveyStats = ({ title, icon, t }) => {
},
{
key: () => t('占比'),
value: (datum) => `${(datum?.percentage || 0).toFixed(1)}%`,
value: (datum) => formatPercent(datum?.percentage || 0, 1),
},
],
},
@@ -186,7 +187,7 @@ const UserSurveyStats = ({ title, icon, t }) => {
},
{
key: () => t('占比'),
value: (datum) => `${(datum?.percentage || 0).toFixed(1)}%`,
value: (datum) => formatPercent(datum?.percentage || 0, 1),
},
],
},