refactor: update folder_id and scope in getList function
This commit is contained in:
parent
f7a0ee6184
commit
d0be683443
@ -189,8 +189,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',
|
||||||
}
|
}
|
||||||
ToolWorkspaceApi.getSharedWorkspaceToolPage(params, loading).then((res) => {
|
ToolWorkspaceApi.getSharedWorkspaceToolPage(params, loading).then((res) => {
|
||||||
toolList.value = [...res.data]
|
toolList.value = [...res.data]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user