From 34e7681fd12b1c4e4994d3bea1a553870e10bc50 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 11 三月 2023 17:58:54 +0800
Subject: [PATCH] 2023-03-11

---
 src/tabviews/commontable/index.jsx |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/commontable/index.jsx b/src/tabviews/commontable/index.jsx
index f224e98..a1c9987 100644
--- a/src/tabviews/commontable/index.jsx
+++ b/src/tabviews/commontable/index.jsx
@@ -177,7 +177,8 @@
             }
             tab.ContainerId = this.state.ContainerId
 
-            return window.GLOB.mkActions[tab.linkTab]
+            // return window.GLOB.mkActions[tab.linkTab]
+            return tab
           })
         })
       } else {
@@ -319,6 +320,7 @@
       config.action.forEach(item => {
         item.logLabel = MenuName + '-' + item.label // 鐢ㄤ簬sPC_TableData_InUpDe璁板綍鎿嶄綔鎸夐挳
         item.$menuId = this.props.MenuID
+        item.$old = true
         item.ContainerId = this.state.ContainerId
 
         if (item.OpenType === 'funcbutton' && item.funcType === 'print' && item.verify) { // 鎵撳嵃鏈鸿缃�
@@ -336,6 +338,14 @@
             }
           }
         }
+
+        if (item.controlField) {
+          if (/,/ig.test(item.controlVal)) {
+            item.controlVals = item.controlVal.split(',')
+          } else {
+            item.controlVals = [(item.controlVal || '')]
+          }
+        }
         
         if (item.position === 'toolbar') {
           item.$toolbtn = true

--
Gitblit v1.8.0