上传
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user