We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0ce1f3 + 24062c7 commit 2a1e651Copy full SHA for 2a1e651
src/components/Descriptions/src/Descriptions.vue
@@ -129,7 +129,11 @@ const toggleClick = () => {
129
<slot v-else-if="item.dictType">
130
<DictTag :type="item.dictType" :value="data[item.field] + ''" />
131
</slot>
132
- <slot v-else :name="item.field" :row="data">{{ data[item.field] }}</slot>
+ <slot v-else :name="item.field" :row="data">
133
+ {{
134
+ item.mappedField ? data[item.mappedField] : data[item.field]
135
+ }}
136
+ </slot>
137
</template>
138
</ElDescriptionsItem>
139
</ElDescriptions>
0 commit comments