fix: change scope parameter from 'WORKSPACE' to 'SHARED' in getList function

This commit is contained in:
CaptainB 2025-06-19 20:37:14 +08:00
parent 72d9833038
commit 73df001e41

View File

@ -267,8 +267,8 @@ function openCreateDialog(data?: any) {
function getList() {
const params = {
folder_id: currentFolder.value?.id || 'root',
scope: 'WORKSPACE',
folder_id: currentFolder.value?.id || 'default',
scope: 'SHARED',
}
ToolApi.getToolListPage(paginationConfig, params, loading).then((res) => {
paginationConfig.total = res.data?.total
@ -421,7 +421,7 @@ function configInitParams(item: any) {
// }
onMounted(() => {
getFolder()
getList()
})
</script>