From c8bec6ee3d923e38872e2b3a66989588c56504b5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 11 一月 2021 17:54:31 +0800 Subject: [PATCH] 2021-01-11 --- src/tabviews/zshare/normalTable/index.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/tabviews/zshare/normalTable/index.jsx b/src/tabviews/zshare/normalTable/index.jsx index 0d1e6dd..8739fbb 100644 --- a/src/tabviews/zshare/normalTable/index.jsx +++ b/src/tabviews/zshare/normalTable/index.jsx @@ -75,6 +75,7 @@ let cell = null if (item.type === 'colspan') { + if (!item.subcols || item.subcols.length === 0) return cell = {title: item.label, children: []} item.subcols.forEach(col => { @@ -110,6 +111,7 @@ }) }) } else if (item.type === 'old_colspan') { + if (!item.subcols || item.subcols.length === 0) return item.subcols.forEach(col => { if (col.marks) { // 杩囨护琛屽拰鍗$墖鏍囪 col.marks = col.marks.filter(mark => { -- Gitblit v1.8.0