From 1006aeb12e4acb6a0faa2e2ed876e6dcfb3a9863 Mon Sep 17 00:00:00 2001 From: tengge1 <930372551@qq.com> Date: Sun, 26 May 2019 09:47:17 +0800 Subject: [PATCH] MenuBar --- ShadowEditor.UI/src/menu/MenuBar.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ShadowEditor.UI/src/menu/MenuBar.jsx b/ShadowEditor.UI/src/menu/MenuBar.jsx index f520592a..76a18916 100644 --- a/ShadowEditor.UI/src/menu/MenuBar.jsx +++ b/ShadowEditor.UI/src/menu/MenuBar.jsx @@ -5,28 +5,28 @@ import PropTypes from 'prop-types'; /** * 菜单栏 * @author tengge / https://github.com/tengge1 - * @property {String} className 样式类 - * @property {Object} style 样式 - * @property {String} children 内容 - * @property {String} region 与BorderLayout配合表示其区域 */ class MenuBar extends React.Component { render() { - const { className, style, children, region } = this.props; + const { className, style, children, ...others } = this.props; - return