feat: Api key sorted by time
This commit is contained in:
parent
dd3e671b50
commit
d643e7e683
@ -151,6 +151,7 @@ const open = () => {
|
|||||||
|
|
||||||
function getApiKeyList() {
|
function getApiKeyList() {
|
||||||
systemKeyApi.getAPIKey().then((res) => {
|
systemKeyApi.getAPIKey().then((res) => {
|
||||||
|
res.data.sort((x:any,y:any)=>x.name < y.name ? 1 : -1)
|
||||||
apiKey.value = res.data
|
apiKey.value = res.data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -140,6 +140,7 @@ const open = () => {
|
|||||||
|
|
||||||
function getApiKeyList() {
|
function getApiKeyList() {
|
||||||
applicationKeyApi.getAPIKey(id as string, loading).then((res) => {
|
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
|
apiKey.value = res.data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user