Fix character input prompt on login button click (#1007)

This commit is contained in:
pa
2024-12-05 19:37:29 +09:00
committed by GitHub
parent f49a3a1995
commit 1852c9b8d8

View File

@@ -374,14 +374,7 @@ export default class extends baseClass {
.saveCredentials,
cipher: pwd
}).then(() => {
this.loginForm.username =
'';
this.loginForm.password =
'';
this.loginForm.endpoint =
'';
this.loginForm.websocket =
'';
this.$refs.loginForm.resetFields();
});
});
});
@@ -399,10 +392,7 @@ export default class extends baseClass {
saveCredentials: this.loginForm.saveCredentials
})
.then(() => {
this.loginForm.username = '';
this.loginForm.password = '';
this.loginForm.endpoint = '';
this.loginForm.websocket = '';
this.$refs.loginForm.resetFields();
})
.finally(() => {
this.loginForm.loading = false;