From b8b0d39635c73e8c683428d0a9810b622e9a1dad Mon Sep 17 00:00:00 2001 From: jialin Date: Fri, 19 Jul 2024 13:05:13 +0800 Subject: [PATCH] fix: dashboard gauge chart data --- src/components/icon-font/index.tsx | 2 +- src/components/modal-footer/index.tsx | 7 +----- src/locales/en-US/playground.ts | 3 ++- src/locales/zh-CN/playground.ts | 3 ++- src/pages/api-keys/components/add-apikey.tsx | 18 +++++++++----- src/pages/api-keys/index.tsx | 10 ++++---- .../dashboard/components/system-load.tsx | 16 ++++++------- src/pages/dashboard/config/types.ts | 24 ++++--------------- src/pages/llmodels/components/table-list.tsx | 6 +---- .../playground/components/chat-footer.tsx | 11 ++++----- .../playground/components/view-code-modal.tsx | 12 ++++++---- src/pages/resources/components/workers.tsx | 2 -- src/pages/users/index.tsx | 2 -- 13 files changed, 46 insertions(+), 70 deletions(-) diff --git a/src/components/icon-font/index.tsx b/src/components/icon-font/index.tsx index 1cdb5126..d2cc6cbf 100644 --- a/src/components/icon-font/index.tsx +++ b/src/components/icon-font/index.tsx @@ -1,7 +1,7 @@ import { createFromIconfontCN } from '@ant-design/icons'; const IconFont = createFromIconfontCN({ - scriptUrl: '//at.alicdn.com/t/c/font_4613488_t2n96lwj8gf.js' + scriptUrl: '//at.alicdn.com/t/c/font_4613488_nw3caxx03yp.js' }); export default IconFont; diff --git a/src/components/modal-footer/index.tsx b/src/components/modal-footer/index.tsx index 4db3c012..e3722dad 100644 --- a/src/components/modal-footer/index.tsx +++ b/src/components/modal-footer/index.tsx @@ -26,12 +26,7 @@ const ModalFooter: React.FC = ({ const intl = useIntl(); return ( -