From 739ae2b61de0f5c01169953419b7a6a91f09826b Mon Sep 17 00:00:00 2001 From: tengge1 <930372551@qq.com> Date: Sun, 8 Sep 2019 10:28:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95=E6=A0=8F?= =?UTF-8?q?=E5=8F=B3=E4=BE=A7=E5=A4=9A=E4=BA=86=E4=B8=AA0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/ui/menu/MenuItem.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShadowEditor.Web/src/ui/menu/MenuItem.jsx b/ShadowEditor.Web/src/ui/menu/MenuItem.jsx index 14c83e435..b5b48cbba 100644 --- a/ShadowEditor.Web/src/ui/menu/MenuItem.jsx +++ b/ShadowEditor.Web/src/ui/menu/MenuItem.jsx @@ -15,12 +15,12 @@ class MenuItem extends React.Component { render() { const { title, className, style, children, show, disabled, onClick } = this.props; - const subMenu = React.Children.count(children) && <>
+ const subMenu = React.Children.count(children) ? <>
-
; +
: null; return