基础信息
-
-
- {{ group?.name || "-" }}
-
-
- {{ group?.display_name || "-" }}
-
-
- {{ group?.description || "-" }}
-
-
- {{ group?.channel_type || "-" }}
-
-
- {{ group?.test_model || "-" }}
-
-
- {{ group?.sort || 0 }}
-
+
+
+
+
+ {{ group?.name || "-" }}
+
+
+
+
+ {{ group?.display_name || "-" }}
+
+
+
+
+ {{ group?.channel_type || "-" }}
+
+
+
+
+ {{ group?.test_model || "-" }}
+
+
+
+
+ {{ group?.sort || 0 }}
+
+
+
+
+ {{ group?.description || "-" }}
+
+
+
@@ -235,12 +263,13 @@ function copyUrl(url: string) {
- {{ upstream.url }}
-
- 权重: {{ upstream.weight }}
-
+
+ 权重: {{ upstream.weight }}
+
+
@@ -386,11 +415,11 @@ function copyUrl(url: string) {
font-family: monospace;
font-size: 0.9rem;
color: #374151;
- margin-right: 8px;
+ margin-left: 5px;
}
.upstream-weight {
- margin-left: 8px;
+ min-width: 70px;
}
.config-json {
diff --git a/web/src/components/keys/KeyTable.vue b/web/src/components/keys/KeyTable.vue
index acbbe87..df23c4e 100644
--- a/web/src/components/keys/KeyTable.vue
+++ b/web/src/components/keys/KeyTable.vue
@@ -4,10 +4,13 @@ import type { APIKey, Group, KeyStatus } from "@/types/models";
import { getGroupDisplayName } from "@/utils/display";
import {
AddCircleOutline,
+ AlertCircleOutline,
+ CheckmarkCircle,
CopyOutline,
EyeOffOutline,
EyeOutline,
RemoveCircleOutline,
+ Search,
} from "@vicons/ionicons5";
import {
NButton,
@@ -63,11 +66,9 @@ const moreOptions = [
{ label: "清空所有无效 Key", key: "clearInvalid", props: { style: { color: "#d03050" } } },
];
-// 防抖定时器
-let searchTimer: ReturnType