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() {
|
function getList() {
|
||||||
const params = {
|
const params = {
|
||||||
folder_id: currentFolder.value?.id || 'root',
|
folder_id: currentFolder.value?.id || 'default',
|
||||||
scope: 'WORKSPACE',
|
scope: 'SHARED',
|
||||||
}
|
}
|
||||||
ToolApi.getToolListPage(paginationConfig, params, loading).then((res) => {
|
ToolApi.getToolListPage(paginationConfig, params, loading).then((res) => {
|
||||||
paginationConfig.total = res.data?.total
|
paginationConfig.total = res.data?.total
|
||||||
@ -421,7 +421,7 @@ function configInitParams(item: any) {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getFolder()
|
getList()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user