luojunhui 1 день назад
Родитель
Сommit
d5186eb7f3
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 3
      src/components/ArticleRecallTab.tsx
  2. 1 1
      vite.config.ts

+ 1 - 3
src/components/ArticleRecallTab.tsx

@@ -209,7 +209,7 @@ export default function ArticleRecallTab() {
 
       <Card
         size="small"
-        title={<ArticleResultTitle meta={resultMeta} articleId={articleId} />}
+        title={<ArticleResultTitle meta={resultMeta} />}
       >
         {result && result.total === 0 ? (
           <Empty description="无召回结果" />
@@ -224,10 +224,8 @@ export default function ArticleRecallTab() {
 /** 长文召回结果卡片标题 — 与 MaterialResultTitle 风格一致 */
 function ArticleResultTitle({
   meta,
-  articleId,
 }: {
   meta: { dimensionLabel: string; dimensionCode: string; description: string } | null
-  articleId: string
 }) {
   if (!meta) {
     return (

+ 1 - 1
vite.config.ts

@@ -10,7 +10,7 @@ export default defineConfig({
     host: true,
     proxy: {
       '/videoVector': {
-        target: 'http://localhost:8080',
+        target: 'https://api-internal.piaoquantv.com',
         changeOrigin: true,
         secure: false,
         configure: (proxy) => {