From 8a6ce370f1aa1c061b76fa3e9d2d4d1df53ca4c5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 21 五月 2024 16:38:09 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/table/normal-table/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/menu/components/table/normal-table/index.jsx b/src/menu/components/table/normal-table/index.jsx index de2356b..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) } @@ -403,7 +407,7 @@ </Popover> {appType !== 'mob' ? <SearchComponent config={card} updatesearch={this.updateComponent}/> : null} <ActionComponent config={card} setSubConfig={this.setSubConfig} updateaction={this.updateComponent}/> - <ColumnComponent config={card} updatecolumn={this.updateComponent}/> + <ColumnComponent config={card} updatecolumn={this.updatecolumn}/> <div className="component-name"> <div className="center"> <div className="title" onDoubleClick={() => { -- Gitblit v1.8.0