fix: invalid value

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

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}`;