From 84804b405cb88f659d055b16eb3bd00b813ccb4a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 10 十二月 2020 10:58:38 +0800
Subject: [PATCH] 2020-12-10

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

diff --git a/src/tabviews/zshare/actionList/excelInbutton/index.jsx b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
index a1e7dd3..fe50dda 100644
--- a/src/tabviews/zshare/actionList/excelInbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -18,7 +18,6 @@
   static propTpyes = {
     show: PropTypes.any,              // 鏄剧ず鏍峰紡
     BID: PropTypes.string,            // 涓昏〃ID
-    MenuName: PropTypes.any,          // 鑿滃崟鍚嶇О
     selectedData: PropTypes.any,      // 瀛愯〃涓�夋嫨鏁版嵁
     Tab: PropTypes.any,               // 濡傛灉褰撳墠鍏冪礌涓烘爣绛炬椂锛宼ab涓烘爣绛句俊鎭�
     btn: PropTypes.object,            // 鎸夐挳
@@ -189,7 +188,7 @@
    * @description Excel 瀵煎叆
    */
   getexceldata = (data, errors, sheetName) => {
-    const { btn, MenuName } = this.props
+    const { btn } = this.props
 
     if (errors) {
       if (errors === 'notexit') {
@@ -276,7 +275,7 @@
         param.open_key = Utils.encryptOpenKey(param.secretkey, param.timestamp)
       }
 
-      param.menuname = `${MenuName ? MenuName + '-' : ''}${btn.label}`
+      param.menuname = btn.logLabel
 
       Api.genericInterface(param).then((res) => {
         if (res.status) {

--
Gitblit v1.8.0