From 24062c7a3b8fa5a424471889d4d2cd0b2ab64211 Mon Sep 17 00:00:00 2001 From: AKING <2734339436@qq.com> Date: Mon, 22 Jan 2024 01:41:37 +0000 Subject: [PATCH] =?UTF-8?q?update=20src/components/Descriptions/src/Descri?= =?UTF-8?q?ptions.vue.=20=E5=AD=97=E6=AE=B5=E6=98=A0=E5=B0=84=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=82=B9=E6=B7=BB=E5=8A=A0=EF=BC=8C=E5=B7=B2?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: AKING <2734339436@qq.com> --- src/components/Descriptions/src/Descriptions.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Descriptions/src/Descriptions.vue b/src/components/Descriptions/src/Descriptions.vue index 06e1096a..184d95c4 100644 --- a/src/components/Descriptions/src/Descriptions.vue +++ b/src/components/Descriptions/src/Descriptions.vue @@ -129,7 +129,11 @@ const toggleClick = () => { - {{ data[item.field] }} + + {{ + item.mappedField ? data[item.mappedField] : data[item.field] + }} +