fix: invalid value

This commit is contained in:
tbphp committed 2025-07-07 21:06:11 +08:00
1 parent 50454f457f
commit fb8301268d
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ export const keysApi = {
},
// 导出密钥
exportKeys(groupId: number, status: "all" | "active" | "inactive" = "all") {
exportKeys(groupId: number, status: "all" | "active" | "invalid" = "all") {
let url = `${http.defaults.baseURL}/groups/${groupId}/keys/export`;
if (status !== "all") {
url += `?status=${status}`;