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