This commit is contained in:
qsh
2024-06-18 15:16:04 +08:00
parent 1c37dbc5f8
commit e3c85cbaae
13 changed files with 801 additions and 164 deletions

View File

@@ -27,7 +27,8 @@ const props = defineProps({
data: {
type: Object as PropType<any>,
default: () => ({})
}
},
defaultShow: propTypes.bool.def(true)
})
const { getPrefixCls } = useDesign()
@@ -57,7 +58,7 @@ const getBindItemValue = (item: DescriptionsSchema) => {
}
// 折叠
const show = ref(true)
const show = ref(props.defaultShow)
const toggleClick = () => {
if (props.collapse) {