diff --git a/chat-client/src/main.ts b/chat-client/src/main.ts index a9109d2..4b2e42b 100644 --- a/chat-client/src/main.ts +++ b/chat-client/src/main.ts @@ -14,7 +14,6 @@ import { setupRouter } from '@/router' */ import { baseURL, pwa } from './config' import { isExternal } from '@/utils/validate' - const app = createApp(App) if (process.env.NODE_ENV === 'production' && !isExternal(baseURL)) { @@ -56,6 +55,8 @@ if (process.env.NODE_ENV === 'production' && !isExternal(baseURL)) { if (pwa) require('./registerServiceWorker') + + setupVab(app) setupI18n(app) setupStore(app) diff --git a/chat-client/src/views/chatweb/intelRetrieval/index.vue b/chat-client/src/views/chatweb/intelRetrieval/index.vue index abc6491..4355e79 100644 --- a/chat-client/src/views/chatweb/intelRetrieval/index.vue +++ b/chat-client/src/views/chatweb/intelRetrieval/index.vue @@ -69,12 +69,12 @@
+
- @@ -124,7 +124,7 @@ text class="action-btn" @click="handlePreview(result)" - v-if="getSourceUrl(result.segmentDto?.documentDto?.docMetadata || result.source_url)" + v-if="getSourceUrl(result.segmentDto?.documentDto?.docMetadata || result.retrievalDto?.sourceUrl)" > 预览 @@ -134,7 +134,7 @@ text class="action-btn" @click="handleDownload(result)" - v-if="getSourceUrl(result.segmentDto?.documentDto?.docMetadata || result.source_url)" + v-if="getSourceUrl(result.segmentDto?.documentDto?.docMetadata || result.retrievalDto?.sourceUrl)" > 下载 @@ -258,8 +258,7 @@