From 4106c97d535b4948e9fb7d62a398fb8b326f5915 Mon Sep 17 00:00:00 2001 From: Kven <2955163637@qq.com> Date: Mon, 19 May 2025 11:42:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(@vben/common-ui):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=93=BE=E6=8E=A5=E5=92=8C=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/vite.config.mts | 4 ++-- packages/effects/common-ui/src/ui/spider/spider-work-view.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/vite.config.mts b/apps/web-antd/vite.config.mts index cfe1479..1e617be 100644 --- a/apps/web-antd/vite.config.mts +++ b/apps/web-antd/vite.config.mts @@ -10,8 +10,8 @@ export default defineConfig(async () => { changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), // mock代理目标地址 - target: 'http://localhost:8081/api', - // target: 'http://43.139.10.64:8082/api', + // target: 'http://localhost:8081/api', + target: 'http://43.139.10.64:8082/api', // target: 'http://192.168.3.238:8081/api', ws: true, }, diff --git a/packages/effects/common-ui/src/ui/spider/spider-work-view.vue b/packages/effects/common-ui/src/ui/spider/spider-work-view.vue index d49bb0a..9613384 100644 --- a/packages/effects/common-ui/src/ui/spider/spider-work-view.vue +++ b/packages/effects/common-ui/src/ui/spider/spider-work-view.vue @@ -182,7 +182,7 @@ const startPolling = async () => { style: { marginLeft: '10px' }, onClick: () => { const link = document.createElement('a'); - link.href = download_url; + link.href = `http://47.112.173.8:6806${download_url}`; link.download = fetchResult.value; document.body.append(link); link.click();