mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-15 22:06:50 +08:00
feat(knowledge): 切换下载模板的方式
1. 由创建 a 链接的方式换成 window.open 2. 更改获取 链接的 方式
This commit is contained in:
@@ -26,9 +26,9 @@ export function getRuleList(data = {}) {
|
||||
* 下载知识文件模板
|
||||
*/
|
||||
export function downloadKnowledgeTemplate() {
|
||||
return request({
|
||||
return {
|
||||
url: getUrl('/datasetDocumentEx/download'),
|
||||
method: 'get',
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user