From ff6cd352e60b77ec236623a699a20005708b6078 Mon Sep 17 00:00:00 2001 From: tengge1 <930372551@qq.com> Date: Thu, 24 Oct 2019 20:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=81=BF=E5=85=8D=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=A1=AB=E5=85=85=E8=B4=A6=E5=8F=B7=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ShadowEditor.Web/src/editor/system/LoginWindow.jsx | 1 + ShadowEditor.Web/src/editor/system/css/LoginWindow.css | 5 +++++ ShadowEditor.Web/src/ui/form/Input.jsx | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ShadowEditor.Web/src/editor/system/LoginWindow.jsx b/ShadowEditor.Web/src/editor/system/LoginWindow.jsx index aa838cfb..db246f7c 100644 --- a/ShadowEditor.Web/src/editor/system/LoginWindow.jsx +++ b/ShadowEditor.Web/src/editor/system/LoginWindow.jsx @@ -35,6 +35,7 @@ class LoginWindow extends React.Component { + diff --git a/ShadowEditor.Web/src/editor/system/css/LoginWindow.css b/ShadowEditor.Web/src/editor/system/css/LoginWindow.css index e69de29b..ece4d281 100644 --- a/ShadowEditor.Web/src/editor/system/css/LoginWindow.css +++ b/ShadowEditor.Web/src/editor/system/css/LoginWindow.css @@ -0,0 +1,5 @@ +.Window.Login>.wrap>.content>.Form>.FormControl>.fake{ + position: absolute; + left: -10000px; + top: -10000px; +} \ No newline at end of file diff --git a/ShadowEditor.Web/src/ui/form/Input.jsx b/ShadowEditor.Web/src/ui/form/Input.jsx index bd02536e..5b65ac8e 100644 --- a/ShadowEditor.Web/src/ui/form/Input.jsx +++ b/ShadowEditor.Web/src/ui/form/Input.jsx @@ -29,7 +29,7 @@ class Input extends React.Component { max={max} step={step} disabled={disabled} - autoComplete={'new-password'} + autoComplete={'off'} onFocus={this.handleFocus} onChange={this.handleChange} onInput={this.handleInput}