From 24e45df087aa0ae882b8a5c964fa12e056cb47c6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 24 五月 2022 19:12:07 +0800
Subject: [PATCH] 2022-05-24

---
 src/tabviews/custom/components/table/edit-table/index.jsx |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/tabviews/custom/components/table/edit-table/index.jsx b/src/tabviews/custom/components/table/edit-table/index.jsx
index 13e6ea1..98aed40 100644
--- a/src/tabviews/custom/components/table/edit-table/index.jsx
+++ b/src/tabviews/custom/components/table/edit-table/index.jsx
@@ -54,7 +54,7 @@
     const { BID, BData } = this.props
     let _config = fromJS(this.props.config).toJS()
     let _cols = new Map()
-    let setting = {..._config.setting, ..._config.wrap, style: {}}
+    let setting = {..._config.setting, ..._config.wrap}
     setting.tableId = Utils.getuuid()
 
     _config.submit.style = _config.submit.style || {}
@@ -132,12 +132,12 @@
       }
     }
 
-    if (setting.color) {
-      setting.style.color = setting.color
-    }
-    if (setting.fontSize) {
-      setting.style.fontSize = setting.fontSize
-    }
+    // if (setting.color) {
+    //   setting.style.color = setting.color
+    // }
+    // if (setting.fontSize) {
+    //   setting.style.fontSize = setting.fontSize
+    // }
 
     if (!_config.lineMarks || _config.lineMarks.length === 0) {
       _config.lineMarks = null

--
Gitblit v1.8.0