From 7924df94049cf459f5e5422106e0d72fcf18c943 Mon Sep 17 00:00:00 2001 From: chenghx Date: Wed, 8 Aug 2018 10:22:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9ADetailList=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tool/DetailList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/tool/DetailList.vue b/src/components/tool/DetailList.vue index 0c1a90e..2672ae2 100644 --- a/src/components/tool/DetailList.vue +++ b/src/components/tool/DetailList.vue @@ -25,7 +25,7 @@ const Item = { }, methods: { renderTerm (h, term) { - return h( + return term ? h( 'div', { attrs: { @@ -33,7 +33,7 @@ const Item = { } }, [term] - ) + ) : null }, renderContent (h, content) { return h( @@ -105,7 +105,7 @@ export default { .title { font-size: 16px; color: rgba(0,0,0,.85); - font-weight: 500; + font-weight: bold; margin-bottom: 16px; } .term {