From 30b6c01972cc74152b733a94edcc0c2a614a2268 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 14 四月 2021 19:15:31 +0800 Subject: [PATCH] 2021-04-14 --- src/tabviews/custom/components/table/normal-table/index.jsx | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/table/normal-table/index.jsx b/src/tabviews/custom/components/table/normal-table/index.jsx index 86035b3..da8380d 100644 --- a/src/tabviews/custom/components/table/normal-table/index.jsx +++ b/src/tabviews/custom/components/table/normal-table/index.jsx @@ -95,13 +95,21 @@ } }) + let setting = {..._config.setting, ..._config.wrap, style: {}} + if (setting.color) { + setting.style.color = setting.color + } + if (setting.fontSize) { + setting.style.fontSize = setting.fontSize + } + this.setState({ BID: BID || '', title: _config.wrap.title, sync: _sync, data: _data, config: _config, - setting: {..._config.setting, ..._config.wrap}, + setting: setting, searchlist: _config.search, actions: _config.action, columns: _config.cols, -- Gitblit v1.8.0