From 1bedaa982656013af13ccc973c99005337ee573c Mon Sep 17 00:00:00 2001 From: cos2004 Date: Fri, 25 Jan 2019 11:14:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=99=BE=E5=BA=A6?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8Fnoticebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/noticebar/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/noticebar/index.js b/src/components/noticebar/index.js index 8b8dcb233..1fdbe1288 100644 --- a/src/components/noticebar/index.js +++ b/src/components/noticebar/index.js @@ -133,6 +133,9 @@ export default class AtNoticebar extends AtComponent { 'at-noticebar--single': !marquee && single, } + const iconClass = ['at-icon'] + if (icon) iconClass.push(`at-icon-${icon}`) + return ( this.state.show && {icon && ( - + {/* start hack 百度小程序 */} + )}