From e1ac36582e673e3fd7d5cbd4e2ae74117bb9d6f7 Mon Sep 17 00:00:00 2001 From: zhanghangt <100103431@qq.com> Date: Tue, 4 Jun 2024 14:26:39 +0800 Subject: [PATCH] Update card.vue --- src/components/ma-form/containerItem/card.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ma-form/containerItem/card.vue b/src/components/ma-form/containerItem/card.vue index 53b659a2..5cd57dfd 100644 --- a/src/components/ma-form/containerItem/card.vue +++ b/src/components/ma-form/containerItem/card.vue @@ -58,7 +58,7 @@ const getColumnService= inject('getColumnService') const columns = inject('columns') const hasDisplayTrue = (list) => { - return list.some(item => item.display === true); + return list.some(item => item.display ?? true); } const rv = async (ev, value = undefined) => await runEvent(props.component, ev, { formModel, getColumnService, columns }, value)