mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
fix: change scope parameter from 'WORKSPACE' to 'SHARED' in getList function
This commit is contained in:
parent
72d9833038
commit
73df001e41
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue