From eb897b781bfc18df4f87a8c78babd3834b2d269f Mon Sep 17 00:00:00 2001
From: yz <yz_0812@outlook.com>
Date: 星期五, 05 三月 2021 01:53:08 +0800
Subject: [PATCH] 修改bug
---
src/views/yunpan/zhishou.vue | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/views/yunpan/zhishou.vue b/src/views/yunpan/zhishou.vue
index 425d6e2..72a00f4 100644
--- a/src/views/yunpan/zhishou.vue
+++ b/src/views/yunpan/zhishou.vue
@@ -186,6 +186,7 @@
<script>
import { getToken } from '@/utils/auth'
import { pages } from '@/settings'
+import { Loading } from 'element-ui'
export default {
data() {
@@ -482,9 +483,11 @@
type: 'warning'
})
} else {
+ const loadingInstance = Loading.service({ fullscreen: true })
// 生成查询文件的条件
var params = { fileids: checke.join(',') }
this.$download('hr/filesUpload/download', { ...params }, this.activities[this.beforeIndex].timestamp + '.zip').then(() => {
+ loadingInstance.close()
this.$message({
message: '下载成功!',
type: 'success'
--
Gitblit v1.8.0