From a39d571d97b7de3e52df37bc37b9de4e32d1bab4 Mon Sep 17 00:00:00 2001 From: zhangds Date: Fri, 17 May 2024 15:43:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/order/downloadList/list.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/order/downloadList/list.js b/src/pages/order/downloadList/list.js index dcc0b2b7..610603fd 100644 --- a/src/pages/order/downloadList/list.js +++ b/src/pages/order/downloadList/list.js @@ -125,9 +125,10 @@ export default class downloadlist extends React.Component { } exportFn(task_id) { - // this.setState({ loading_visible: true }) + this.setState({ loading_visible: true }) getOrderDownloadUrl({ task_id }) .then((res) => { + this.setState({ loading_visible: false }) window.location.href = res.data }) .catch((err) => {})