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 = () => {