From 5046d0d13dc6a8563b8e54e31913bc44cfa1072f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 四月 2022 19:23:18 +0800 Subject: [PATCH] 2022-04-26 --- src/components/normalform/modalform/index.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/normalform/modalform/index.jsx b/src/components/normalform/modalform/index.jsx index 7162b0c..6586950 100644 --- a/src/components/normalform/modalform/index.jsx +++ b/src/components/normalform/modalform/index.jsx @@ -109,7 +109,9 @@ if (cell.hidden) return - if (supItem.hidden) { + if (cell.skip && supItem.forbid) { // 涓婄骇琛ㄥ崟绂佺敤鏃讹紝姝よ〃鍗曚笉鍙楁帶鍒� + + } else if (supItem.hidden) { cell.hidden = true } else if (supItem.type === 'checkbox') { let vals = [...supItem.initval, ...item.values] @@ -261,7 +263,7 @@ } else if (item.type === 'source') { content = (<SourceComponent type="" placement="right"/>) } else if (item.type === 'table') { - content = (<MKTable columns={item.columns || []}/>) + content = (<MKTable columns={item.columns || []} actions={item.actions || []}/>) } if (!content) return -- Gitblit v1.8.0