diff --git a/ShadowEditor.Web/locales/zh-CN.json b/ShadowEditor.Web/locales/zh-CN.json
index 025fac26..3c5e34f9 100644
--- a/ShadowEditor.Web/locales/zh-CN.json
+++ b/ShadowEditor.Web/locales/zh-CN.json
@@ -762,5 +762,6 @@
"Nick name is not allowed to be empty.": "姓名不允许为空",
"The username is already existed.": "用户名已经存在。",
"Edit Role": "编辑角色",
- "Edit User": "编辑用户"
+ "Edit User": "编辑用户",
+ "Register": "注册"
}
\ No newline at end of file
diff --git a/ShadowEditor.Web/src/editor/menu/LoginMenu.jsx b/ShadowEditor.Web/src/editor/menu/LoginMenu.jsx
index bdb44ce9..15216f12 100644
--- a/ShadowEditor.Web/src/editor/menu/LoginMenu.jsx
+++ b/ShadowEditor.Web/src/editor/menu/LoginMenu.jsx
@@ -1,22 +1,36 @@
-import { classNames, PropTypes, MenuBar, MenuItem } from '../../third_party';
+import './css/LoginMenu.css';
+import { classNames, MenuItemSeparator, Button } from '../../third_party';
import LoginWindow from '../system/LoginWindow.jsx';
/**
- * 状态菜单
+ * 登录菜单
* @author tengge / https://github.com/tengge1
*/
class LoginMenu extends React.Component {
constructor(props) {
super(props);
- this.handleClick = this.handleClick.bind(this);
+ this.handleClickRegister = this.handleClickRegister.bind();
+ this.handleClickLogin = this.handleClickLogin.bind(this);
}
render() {
- return ;
+ return <>
+