From 60dee3dc4dc6869231d6adb0c94c47e36114ca91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 四月 2022 09:11:34 +0800 Subject: [PATCH] 2022-04-21 --- src/tabviews/zshare/normalTable/index.jsx | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/tabviews/zshare/normalTable/index.jsx b/src/tabviews/zshare/normalTable/index.jsx index ee502f0..123c966 100644 --- a/src/tabviews/zshare/normalTable/index.jsx +++ b/src/tabviews/zshare/normalTable/index.jsx @@ -115,8 +115,17 @@ } } - columns.forEach((item, index) => { - if (item.hidden === true || item.Hide === 'true') return + columns.forEach(item => { + if (item.hidden === true || item.Hide === 'true') { + if (item.marks) { // 鎻愬彇琛屾爣璁� + item.marks.forEach(mark => { + if (mark.signType !== 'line') return + + lineMarks.push(mark) + }) + } + return + } let cell = null if (item.type === 'colspan') { @@ -235,7 +244,7 @@ pageOptions.push(size) pageOptions = pageOptions.sort((a, b) => a - b) } - + this.setState({ pageOptions, columns: _columns, -- Gitblit v1.8.0