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
a6e3c981c1
commit
02c7f70cbe
@ -2,9 +2,9 @@ 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'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user