From a55625f79b5bea88a04dc5cebf264a61cd594547 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期五, 30 十二月 2022 18:02:18 +0800
Subject: [PATCH] 管道分析,IE判斷,上传Loading

---
 src/views/datamanage/dataLoader.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/views/datamanage/dataLoader.vue b/src/views/datamanage/dataLoader.vue
index 8384dfa..d590493 100644
--- a/src/views/datamanage/dataLoader.vue
+++ b/src/views/datamanage/dataLoader.vue
@@ -855,7 +855,7 @@
     },
     //鏂囦欢涓婁紶
     setFileUpload() {
-      this.handlerLoading(true);
+      this.fullscreenLoading = true;
       var token = getToken();
       var formData = new FormData();
 
@@ -874,22 +874,24 @@
         processData: false,
         contentType: false,
         success: (rs) => {
-
-          this.getFileLength();
-
-          this.$message({
+this.fullscreenLoading = false;
+   this.$message({
             message: '鏁版嵁涓婁紶鎴愬姛',
             type: 'success'
           });
+          this.getFileLength();
+
+       
       this.clearFileSelect();
         },
         error: (rs) => {
+          this.fullscreenLoading = false;
           this.$message.error('鏁版嵁涓婁紶澶辫触');
            this.clearFileSelect();
         }
       });
 
-      this.handlerLoading(false);
+ 
     },
     //鑾峰彇鏂囦欢涓婁紶鏁版嵁
     async getFileLength() {
@@ -977,7 +979,7 @@
 
     //Loading鏄鹃殣
     handlerLoading(res) {
-      this.fullscreenLoading = res;
+     
     },
     //鐩綍鍒囨崲
     catalogChange(value) {
@@ -1328,3 +1330,8 @@
   }
 }
 </style>
+<style>
+.el-loading-spinner i {
+  color: #1890ff !important;
+}
+</style>

--
Gitblit v1.9.3