From d08fba77101b83f211738c722403506cc7dab50b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 08 五月 2024 22:41:50 +0800
Subject: [PATCH] 2024-05-08

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

diff --git a/src/menu/components/table/normal-table/index.jsx b/src/menu/components/table/normal-table/index.jsx
index a7ce910..d53420d 100644
--- a/src/menu/components/table/normal-table/index.jsx
+++ b/src/menu/components/table/normal-table/index.jsx
@@ -331,6 +331,7 @@
   updatecolumn = (config) => {
     config.absFields = []
     config.hasExtend = false
+    config.parCtrl = false
     let mapCol = (cols) => {
       cols.forEach(col => {
         if (col.type === 'number') {
@@ -339,6 +340,9 @@
           }
         } else if (col.type === 'extend') {
           config.hasExtend = true
+          if (col.supField) {
+            config.parCtrl = true
+          }
         } else if (col.type === 'colspan' && col.subcols) {
           mapCol(col.subcols)
         }

--
Gitblit v1.8.0