From 44ec26574eca954783640875035f1ec60c9ab73a Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Tue, 12 Nov 2024 09:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/7402=E3=80=91CollapseContainer?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0=E9=BB=98=E8=AE=A4=E4=B8=8D?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Container/src/collapse/CollapseContainer.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jeecgboot-vue3/src/components/Container/src/collapse/CollapseContainer.vue b/jeecgboot-vue3/src/components/Container/src/collapse/CollapseContainer.vue index 4b629f21..29c36431 100644 --- a/jeecgboot-vue3/src/components/Container/src/collapse/CollapseContainer.vue +++ b/jeecgboot-vue3/src/components/Container/src/collapse/CollapseContainer.vue @@ -36,6 +36,7 @@ const props = defineProps({ title: { type: String, default: '' }, + defaultExpan: { type: Boolean, default: true }, loading: { type: Boolean }, /** * Can it be expanded @@ -58,8 +59,9 @@ */ lazyTime: { type: Number, default: 0 }, }); - - const show = ref(true); + // update-begin-author:liaozhiyang---date:2024-11-11--for:【issues/7402】CollapseContainer组件增加默认不展开属性 + const show = ref(props.defaultExpan); + // update-begin-author:liaozhiyang---date:2024-11-11--for:【issues/7402】CollapseContainer组件增加默认不展开属性 const { prefixCls } = useDesign('collapse-container');