From f66e19dd13af07ee466306632ad43c72f1f16ae7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 26 五月 2021 14:49:55 +0800
Subject: [PATCH] 2021-05-26

---
 src/menu/components/table/normal-table/index.jsx |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/table/normal-table/index.jsx b/src/menu/components/table/normal-table/index.jsx
index aa19a47..83f0adb 100644
--- a/src/menu/components/table/normal-table/index.jsx
+++ b/src/menu/components/table/normal-table/index.jsx
@@ -88,8 +88,11 @@
         _card.style = config.style
         _card.headerStyle = config.headerStyle
 
+        let oriUids = {}
         _card.action = config.action.map(item => {
-          item.uuid = Utils.getuuid()
+          let _uuid = Utils.getuuid()
+          oriUids[item.uuid] = _uuid
+          item.uuid = _uuid
           return item
         })
         _card.search = config.search.map(item => {
@@ -113,6 +116,10 @@
           }
           return col
         })
+        
+        if (_card.wrap.doubleClick) {
+          _card.wrap.doubleClick = oriUids[_card.wrap.doubleClick] || ''
+        }
       }
       
       this.setState({

--
Gitblit v1.8.0