fix: fit
This commit is contained in:
parent
19d15da910
commit
8f3efea077
@ -144,6 +144,7 @@
|
|||||||
:title="item.name"
|
:title="item.name"
|
||||||
:description="item.desc || $t('common.noData')"
|
:description="item.desc || $t('common.noData')"
|
||||||
class="cursor"
|
class="cursor"
|
||||||
|
@click="clickFolder(item)"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<el-avatar shape="square" :size="32" style="background: none">
|
<el-avatar shape="square" :size="32" style="background: none">
|
||||||
@ -337,6 +338,13 @@ function folderClickHandel(row: any) {
|
|||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function clickFolder(item: any) {
|
||||||
|
currentFolder.value.id = item.id
|
||||||
|
applicationList.value = []
|
||||||
|
getList()
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function getAccessToken(id: string) {
|
function getAccessToken(id: string) {
|
||||||
applicationList.value
|
applicationList.value
|
||||||
.filter((app) => app.id === id)[0]
|
.filter((app) => app.id === id)[0]
|
||||||
@ -436,6 +444,7 @@ function openCreateFolder() {
|
|||||||
CreateFolderDialogRef.value.open('APPLICATION', currentFolder.value.parent_id)
|
CreateFolderDialogRef.value.open('APPLICATION', currentFolder.value.parent_id)
|
||||||
}
|
}
|
||||||
function refreshFolder() {
|
function refreshFolder() {
|
||||||
|
applicationList.value = []
|
||||||
getFolder()
|
getFolder()
|
||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -437,6 +437,7 @@ function deleteKnowledge(row: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function refreshFolder() {
|
function refreshFolder() {
|
||||||
|
knowledgeList.value = []
|
||||||
getFolder()
|
getFolder()
|
||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user