This commit is contained in:
wangdan-fit2cloud 2025-06-16 20:45:33 +08:00
parent 63eefa3ffa
commit 19d15da910

View File

@ -161,6 +161,7 @@
:title="item.name"
:description="item.desc || $t('common.noData')"
class="cursor"
@click="clickFolder(item)"
>
<template #icon>
<el-avatar shape="square" :size="32" style="background: none">
@ -358,6 +359,7 @@ const search_type_change = () => {
}
function getList() {
console.log(currentFolder.value?.id)
const params = {
folder_id: currentFolder.value?.id || localStorage.getItem('workspace_id'),
[search_type.value]: search_form.value[search_type.value],
@ -385,6 +387,12 @@ function folderClickHandel(row: any) {
getList()
}
function clickFolder(item: any) {
currentFolder.value.id = item.id
knowledgeList.value = []
getList()
}
const CreateFolderDialogRef = ref()
function openCreateFolder() {