From f4b9504cad034ddcdef21c2081d14a4984fcd2d3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 15 七月 2024 17:14:48 +0800
Subject: [PATCH] 2024-07-15

---
 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