File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 144144 :title =" item.name"
145145 :description =" item.desc || $t('common.noData')"
146146 class =" cursor"
147+ @click =" clickFolder(item)"
147148 >
148149 <template #icon >
149150 <el-avatar shape =" square" :size =" 32" style =" background : none " >
@@ -337,6 +338,13 @@ function folderClickHandel(row: any) {
337338 getList ()
338339}
339340
341+ function clickFolder(item : any ) {
342+ currentFolder .value .id = item .id
343+ applicationList .value = []
344+ getList ()
345+ }
346+
347+
340348function getAccessToken(id : string ) {
341349 applicationList .value
342350 .filter ((app ) => app .id === id )[0 ]
@@ -436,6 +444,7 @@ function openCreateFolder() {
436444 CreateFolderDialogRef .value .open (' APPLICATION' , currentFolder .value .parent_id )
437445}
438446function refreshFolder() {
447+ applicationList .value = []
439448 getFolder ()
440449 getList ()
441450}
Original file line number Diff line number Diff line change @@ -437,6 +437,7 @@ function deleteKnowledge(row: any) {
437437}
438438
439439function refreshFolder() {
440+ knowledgeList .value = []
440441 getFolder ()
441442 getList ()
442443}
You can’t perform that action at this time.
0 commit comments