新建页面-用户密码不自动填充

This commit is contained in:
caishi 2021-09-10 18:13:45 +08:00
parent 828de5d770
commit 0ffa5e0cae
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ class Index extends Component {
if (mirror_status === 2 && sessionStorage.newProjectValue) { if (mirror_status === 2 && sessionStorage.newProjectValue) {
Modal.warning({ Modal.warning({
title: '警告', title: '警告',
content: '项目导入失败!请按操作规范重新创建项目!', content: '项目导入失败!请按操作规范重新导入项目!',
}); });
let newProjectValue = JSON.parse(sessionStorage.newProjectValue); let newProjectValue = JSON.parse(sessionStorage.newProjectValue);
if (newProjectValue) { if (newProjectValue) {
@ -386,7 +386,7 @@ class Index extends Component {
{getFieldDecorator('password', { {getFieldDecorator('password', {
rules: [], rules: [],
})( })(
<Input placeholder="请输入对应平台的登录密码" type={"password"} style={{width:"240px"}}/> <Input.Password placeholder="请输入对应平台的登录用户名" autocomplete='new-password' style={{width:"240px"}}/>
)} )}
</Form.Item> </Form.Item>
</div> </div>