接口修改

This commit is contained in:
caixiaofeng 2023-11-25 20:15:24 +08:00
parent 5fe5e5d302
commit b8f937f073
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ VITE_USER_NODE_ENV=development
VITE_PUBLIC_PATH=/
# 开发环境接口地址
VITE_API_URL="https://www.666cxf.com/stage-api"
VITE_API_URL=/api

View File

@ -2,7 +2,7 @@ import http from '~/api/index'
import FileSaver from "file-saver";
export const downloadXml = async (data: object) => {
const res = await http.download('/workflow/model/download', data)
const res = await http.download('https://www.666cxf.com/stage-api/workflow/model/download', data)
FileSaver.saveAs(
new Blob([res], { type: 'application/octet-stream;charset=utf-8' }),
'测试流程.bpmn20.xml'