fix site api

This commit is contained in:
jxxghp
2023-09-09 17:40:01 +08:00
parent 9a8e4d8600
commit 3c555cbfca
2 changed files with 2 additions and 8 deletions

View File

@@ -244,13 +244,7 @@ function getVolumeFactorClass(downloadVolume: number, uploadVolume: number) {
async function getResourceList() {
resourceLoading.value = true
try {
resourceDataList.value = await api.get('search/title', {
params: {
keyword: resourceSearch.value,
page: resourceCurrentPage.value,
site: cardProps.site?.id,
},
})
resourceDataList.value = await api.get(`site/resource/${cardProps.site?.id}`)
resourceLoading.value = false
}
catch (error) {