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.
1 parent 948ef08 commit 24062c7Copy full SHA for 24062c7
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