File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
components/ai-chat/component/knowledge-source-component Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ function openParagraph(row: any, id?: string) {
149149 emit (' openParagraph' )
150150 return
151151 }
152+ dialogType .value = ' '
152153 currentComponent .value = ParagraphSourceContent
153154 currentChatDetail .value = obj
154155 dialogVisible .value = true
@@ -159,6 +160,7 @@ function openExecutionDetail(row: any) {
159160 emit (' openExecutionDetail' )
160161 return
161162 }
163+ dialogType .value = ' '
162164 currentComponent .value = ExecutionDetailContent
163165 currentChatDetail .value = row
164166 dialogVisible .value = true
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ function changeWorkspace(item: WorkspaceItem) {
5050 } = route as any
5151 if (item .id === user .workspace_id ) return
5252 user .setWorkspaceId (item .id || ' default' )
53- if (activeMenu .includes (' application' )) {
53+ if (activeMenu .includes (' application' ) && route . path != ' /application ' ) {
5454 router .push (' /application' )
55- } else if (activeMenu .includes (' knowledge' )) {
55+ } else if (activeMenu .includes (' knowledge' ) && route . path != ' /knowledge ' ) {
5656 router .push (' /knowledge' )
5757 } else {
5858 window .location .reload ()
You can’t perform that action at this time.
0 commit comments