Ver Fonte

修复bug

songxy há 1 mês atrás
pai
commit
860855fe6f

+ 0 - 1
ais_search_zj/web/components.d.ts

@@ -14,7 +14,6 @@ declare module 'vue' {
     BasicCurdPage: typeof import('./src/components/curd/BasicCurdPage.vue')['default']
     BasicCurdPageFrame: typeof import('./src/components/curd/frame/BasicCurdPageFrame.vue')['default']
     BasicQueryForm: typeof import('./src/components/query/BasicQueryForm.vue')['default']
-    copy: typeof import('./src/components/pdf/PDFViewerSearch copy.vue')['default']
     HomeCard: typeof import('./src/components/home-card/HomeCard.vue')['default']
     IframePage: typeof import('./src/components/iframe-page/IframePage.vue')['default']
     MarkdownToc: typeof import('./src/components/markdown-toc/MarkdownToc.vue')['default']

+ 2 - 2
ais_search_zj/web/src/views/ai-search/ai-search.vue

@@ -69,7 +69,7 @@
                         overflow: hidden;
                         animation: scroll-text-992e3d76 25s linear infinite;
                       "
-                      v-if="st.key <think 3 && askType === 'tdsc'"
+                      v-if="st.key < 3 && askType === 'tdsc'"
                     >
                       <div
                         :title="t"
@@ -152,7 +152,7 @@
                                       currentResponse.streamMsg.indexOf('###')
                                     )
                                   : currentResponse.streamMsg
-                                : currentResponse.msg.indexOf('</think>') > -1
+                                : currentResponse.msg.indexOf('</>') > -1
                                 ? currentResponse.msg.substring(
                                     0,
                                     currentResponse.msg.indexOf('</think>')

+ 2 - 2
ais_search_zj/web/vite.config.js

@@ -62,9 +62,9 @@ export default defineConfig({
           rewrite: function (path) { return path.replace(/^\/aisChat/, ''); }
       },
       '/aiServer': {
-          target: 'http://10.10.8.222:20331/',
+          // target: 'http://10.10.8.222:20331/',
           // target: 'https://zjugpt.com/llm',
-          // target: 'https://ai.zrzyt.zj.gov.cn:10086/aiServer',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/aiServer',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/aiServer/, ''); }