fix: desc

pull/2/head
xingyu4j 2022-11-15 13:26:25 +08:00
parent c5075dad3b
commit a701c1d76c
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,7 @@ const toggleClick = () => {
<ElCollapseTransition> <ElCollapseTransition>
<div v-show="show" :class="[`${prefixCls}-content`, 'p-10px']"> <div v-show="show" :class="[`${prefixCls}-content`, 'p-10px']">
<ElDescriptions <ElDescriptions
:column="2" :column="1"
border border
:direction="mobile ? 'vertical' : 'horizontal'" :direction="mobile ? 'vertical' : 'horizontal'"
v-bind="getBindValue" v-bind="getBindValue"
@ -105,6 +105,7 @@ const toggleClick = () => {
<ElDescriptionsItem <ElDescriptionsItem
v-for="item in schema" v-for="item in schema"
:key="item.field" :key="item.field"
min-width="80"
v-bind="getBindItemValue(item)" v-bind="getBindItemValue(item)"
> >
<template #label> <template #label>