소스 검색

接入服务页面调整

肖栋 1 주 전
부모
커밋
76a4c0c2f3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/pages/mcp/serverDetail.vue

+ 2 - 2
src/pages/mcp/serverDetail.vue

@@ -534,12 +534,12 @@ const mapServerDetail = (data) => {
       },
       {
         label: "文件数",
-        value: formatMetricValue(data.fileCount),
+        value: String(formatMetricValue(data.fileCount)).replace(/\B(?=(\d{3})+(?!\d))/g, ","),
         type: "green",
         icon: "number_of_files",
       },
       {
-        label: "近30天请求",
+        label: "累计请求",
         value: formatMetricValue(data.requestCount30d),
         type: "purple",
         icon: "requests_in_the_past_days",