From 81e11909d1f94d1298ccdca01c95213f03995d19 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 2 Sep 2019 16:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/courses/busyWork/common/TabRightComponents.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/react/src/modules/courses/busyWork/common/TabRightComponents.js b/public/react/src/modules/courses/busyWork/common/TabRightComponents.js index 5320dd0ca..34044330d 100644 --- a/public/react/src/modules/courses/busyWork/common/TabRightComponents.js +++ b/public/react/src/modules/courses/busyWork/common/TabRightComponents.js @@ -63,8 +63,9 @@ class TabRightComponents extends Component{ }) } }else { - this.props.showNotification(`正在下载中`); - window.open("/api"+url, '_blank'); + this.props.slowDownload(url) + // this.props.showNotification(`正在下载中`); + // window.open("/api"+url, '_blank'); } }).catch((error) => { console.log(error)