mirror of
https://gitee.com/cai_xiao_feng/lowflow-design.git
synced 2025-12-06 16:18:22 +08:00
接口修改
This commit is contained in:
parent
5fe5e5d302
commit
b8f937f073
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user