This commit is contained in:
wangdan-fit2cloud 2025-06-16 20:51:13 +08:00
parent 19d15da910
commit 8f3efea077
2 changed files with 10 additions and 0 deletions

View File

@ -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()
} }

View File

@ -437,6 +437,7 @@ function deleteKnowledge(row: any) {
} }
function refreshFolder() { function refreshFolder() {
knowledgeList.value = []
getFolder() getFolder()
getList() getList()
} }