Bläddra i källkod

接入服务页面调整

肖栋 1 vecka sedan
förälder
incheckning
76a4c0c2f3
1 ändrade filer med 2 tillägg och 2 borttagningar
  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",