mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: Api key sorted by time
This commit is contained in:
parent
dd3e671b50
commit
d643e7e683
|
|
@ -151,6 +151,7 @@ const open = () => {
|
|||
|
||||
function getApiKeyList() {
|
||||
systemKeyApi.getAPIKey().then((res) => {
|
||||
res.data.sort((x:any,y:any)=>x.name < y.name ? 1 : -1)
|
||||
apiKey.value = res.data
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ const open = () => {
|
|||
|
||||
function getApiKeyList() {
|
||||
applicationKeyApi.getAPIKey(id as string, loading).then((res) => {
|
||||
res.data.sort((x:any,y:any)=>x.name < y.name ? 1 : -1)
|
||||
apiKey.value = res.data
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue