diff --git a/ShadowEditor.Web/locales/zh-CN.json b/ShadowEditor.Web/locales/zh-CN.json index 128f9775..3dd284c7 100644 --- a/ShadowEditor.Web/locales/zh-CN.json +++ b/ShadowEditor.Web/locales/zh-CN.json @@ -779,5 +779,6 @@ "Border Thickness": "边框粗细", "Confirm password is not allowed to be empty.": "确认密码不允许为空。", "Password and confirm password is not the same.": "密码和确认密码不相同。", - "Register successfully!": "注册成功!" + "Register successfully!": "注册成功!", + "Confirm Password": "确认密码" } \ No newline at end of file diff --git a/ShadowEditor.Web/src/editor/system/RegisterWindow.jsx b/ShadowEditor.Web/src/editor/system/RegisterWindow.jsx index 0015f83a..7d2bdb58 100644 --- a/ShadowEditor.Web/src/editor/system/RegisterWindow.jsx +++ b/ShadowEditor.Web/src/editor/system/RegisterWindow.jsx @@ -24,9 +24,9 @@ class RegisterWindow extends React.Component { const { username, password } = this.state; return @@ -39,6 +39,14 @@ class RegisterWindow extends React.Component { + + + + + + + + diff --git a/ShadowEditor.Web/src/editor/system/css/RegisterWindow.css b/ShadowEditor.Web/src/editor/system/css/RegisterWindow.css index e69de29b..d9486342 100644 --- a/ShadowEditor.Web/src/editor/system/css/RegisterWindow.css +++ b/ShadowEditor.Web/src/editor/system/css/RegisterWindow.css @@ -0,0 +1,3 @@ +.Window.RegisterWindow>.wrap>.content>.Form>.FormControl>.Label { + width: 120px; +} \ No newline at end of file