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/normalbutton/index.jsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx
index 8c3d428..0458bcb 100644
--- a/src/tabviews/zshare/actionList/normalbutton/index.jsx
+++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -22,7 +22,6 @@
     show: PropTypes.any,              // 鎸夐挳鏄剧ず鏍峰紡鎺у埗
     BID: PropTypes.string,            // 涓昏〃ID
     BData: PropTypes.any,             // 涓昏〃鏁版嵁
-    MenuName: PropTypes.any,          // 鑿滃崟鍚嶇О
     style: PropTypes.any,             // 鎸夐挳鏍峰紡
     selectedData: PropTypes.any,      // 瀛愯〃涓�夋嫨鏁版嵁
     Tab: PropTypes.any,               // 濡傛灉褰撳墠鍏冪礌涓烘爣绛炬椂锛宼ab涓烘爣绛句俊鎭�
@@ -191,7 +190,7 @@
    * @description 鎸夐挳鎻愪氦鎵ц
    */
   execSubmit = (data, _resolve, formdata) => {
-    const { setting, columns, btn, MenuName } = this.props
+    const { setting, columns, btn } = this.props
     if (btn.intertype === 'inner' || btn.intertype === 'system') {
       // 鎵ц鏂瑰紡涓哄琛屾嫾鎺ワ紝涓旀墦寮�鏂瑰紡涓鸿〃鍗曟椂锛屼細杞负寰幆鍙戦�佽姹�
       // 鎵撳紑鏂瑰紡涓烘ā鎬佹锛屼娇鐢ㄥ唴閮ㄥ嚱鏁版坊鍔�(鏈夋壒閲忔坊鍔犲満鏅紝宸插幓闄�)
@@ -313,7 +312,7 @@
         }
 
         if (param.func === 'sPC_TableData_InUpDe') {
-          param.menuname = `${MenuName ? MenuName + '-' : ''}${btn.label}`
+          param.menuname = btn.logLabel
         }
 
         Api.genericInterface(param).then((res) => {
@@ -443,7 +442,7 @@
           }
 
           if (param.func === 'sPC_TableData_InUpDe') {
-            param.menuname = `${MenuName ? MenuName + '-' : ''}${btn.label}`
+            param.menuname = btn.logLabel
           }
 
           return param

--
Gitblit v1.8.0