Browse Source

详情

master
李胜楠 12 months ago
parent
commit
b6ad3f2472
  1. 1
      src/components/Descriptions/src/Descriptions.vue

1
src/components/Descriptions/src/Descriptions.vue

@ -131,6 +131,7 @@ const toggleClick = () => {
data[item.field] !== null ? dayjs(data[item.field]).format(item.dateFormat) : '' data[item.field] !== null ? dayjs(data[item.field]).format(item.dateFormat) : ''
}} }}
</slot> </slot>
<!-- v-else-if="item.dictType && data[item.field].indexOf(',') == -1" -->
<slot v-else-if="item.dictType"> <slot v-else-if="item.dictType">
<DictTag :type="item.dictType" :value="data[item.field] + ''" /> <DictTag :type="item.dictType" :value="data[item.field] + ''" />
</slot> </slot>

Loading…
Cancel
Save