From 2ed2188bb01fa321177125917102e5f664497d2a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 12 八月 2020 16:41:25 +0800
Subject: [PATCH] 2020-08-12

---
 src/tabviews/zshare/actionList/excelInbutton/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
index c5d087d..f22403e 100644
--- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -186,26 +186,26 @@
   /**
    * @description Excel 瀵煎叆
    */
-  getexceldata = (data, errors) => {
+  getexceldata = (data, errors, sheetName) => {
     const { btn } = this.props
 
     if (errors) {
       if (errors === 'notexit') {
         notification.warning({
           top: 92,
-          message: '宸ヤ綔琛ㄣ��' + btn.verify.sheet + '銆嬩笉瀛樺湪锛�',
+          message: '宸ヤ綔琛ㄣ��' + sheetName + '銆嬩笉瀛樺湪锛�',
           duration: 5
         })
       } else if (errors === 'empty') {
         notification.warning({
           top: 92,
-          message: '宸ヤ綔琛ㄣ��' + btn.verify.sheet + '銆嬩负绌猴紒',
+          message: '宸ヤ綔琛ㄣ��' + sheetName + '銆嬩负绌猴紒',
           duration: 5
         })
       } else if (errors === 'headerError') {
         notification.warning({
           top: 92,
-          message: '宸ヤ綔琛ㄣ��' + btn.verify.sheet + '銆嬭〃澶磋缃敊璇紝璇锋鏌ヨ〃澶翠腑鐨勫悕绉板強椤哄簭锛屼笌鎸夐挳Excel鍒椾俊鎭槸鍚︿竴鑷达紒',
+          message: '宸ヤ綔琛ㄣ��' + sheetName + '銆嬭〃澶磋缃敊璇紝璇锋鏌ヨ〃澶翠腑鐨勫悕绉板強椤哄簭锛屼笌鎸夐挳Excel鍒椾俊鎭槸鍚︿竴鑷达紒',
           duration: 5
         })
       }
@@ -217,7 +217,7 @@
     if (!data || data.length === 0) {
       notification.warning({
         top: 92,
-        message: '鏈幏鍙栧埌宸ヤ綔琛ㄣ��' + btn.verify.sheet + '銆嬫暟鎹紒',
+        message: '鏈幏鍙栧埌宸ヤ綔琛ㄣ��' + sheetName + '銆嬫暟鎹紒',
         duration: 5
       })
       this.updateStatus('over')

--
Gitblit v1.8.0