From 3cb2f9e97baf002af9ba04c63fa0a620e981e7a8 Mon Sep 17 00:00:00 2001 From: zhouyang Date: Fri, 20 Mar 2026 16:59:12 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=8F=92=E4=BB=B6=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/application/application.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/application/application.ts b/src/api/application/application.ts index 170ba956..7ffcdce8 100644 --- a/src/api/application/application.ts +++ b/src/api/application/application.ts @@ -3,6 +3,7 @@ import { get, post } from './index'; import { ElNotification, ElButton } from 'element-plus'; import { h } from 'vue'; // import { get, post } from '@/api/request'; +const env = import.meta.env; // const env = import.meta.env; // const PREFIX = env.VITE_API_PREFIX_APPLICATION; @@ -68,7 +69,9 @@ export const querytasklogApi = async (params: any) => { }; const openDownLoadFun = () => { - downloadFileByStream(7613); + // downloadFileByStream(7613); + const url = `${env.VITE_API_STATIC_FILE}/build.zip`; + window.open(url); }; const startFun = () => {