修改接口

This commit is contained in:
caixiaofeng 2024-01-31 10:17:05 +08:00
parent a6e3c981c1
commit 02c7f70cbe

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('https://www.666cxf.com/stage-api/workflow/model/download', data)
const res = await http.download('https://www.666cxf.com/api/workflow/model/download', data)
FileSaver.saveAs(
new Blob([res], { type: 'application/octet-stream;charset=utf-8' }),
'测试流程.bpmn20.xml'