Browse Source

详情组件高度

master
zhang_li 8 months ago
parent
commit
cf08358e3b
  1. 4
      src/components/Descriptions/src/Descriptions.vue

4
src/components/Descriptions/src/Descriptions.vue

@ -15,7 +15,7 @@ const mobile = computed(() => appStore.getMobile)
const attrs = useAttrs()
const slots = useSlots()
const height = ref('200px')
const height = ref('83px')
const isShow = ref(false)
@ -73,7 +73,7 @@ const toggleClick = () => {
}
const showAll = () =>{
if(isShow.value){
height.value ='200px'
height.value ='83px'
}else{
height.value ='auto'
}

Loading…
Cancel
Save