feat: 增加下载地址
This commit is contained in:
parent
71d3fefc83
commit
a39d571d97
|
@ -125,9 +125,10 @@ export default class downloadlist extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
exportFn(task_id) {
|
exportFn(task_id) {
|
||||||
// this.setState({ loading_visible: true })
|
this.setState({ loading_visible: true })
|
||||||
getOrderDownloadUrl({ task_id })
|
getOrderDownloadUrl({ task_id })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
this.setState({ loading_visible: false })
|
||||||
window.location.href = res.data
|
window.location.href = res.data
|
||||||
})
|
})
|
||||||
.catch((err) => {})
|
.catch((err) => {})
|
||||||
|
|
Loading…
Reference in New Issue