This commit is contained in:
2023-12-04 15:55:54 +08:00
parent 6acd69004c
commit c7a2530464
4 changed files with 28 additions and 10 deletions

View File

@@ -135,12 +135,14 @@ export default {
saveLogin () {
this.disabled = true
if (!this.username) {
this.toast('请输入用户名')
// this.toast('请输入用户名')
this.toast(this.$t('login.toast1'))
this.disabled = false
return
}
if (!this.password) {
this.toast('请输入密码')
// this.toast('请输入密码')
this.toast(this.$t('login.toast2'))
this.disabled = false
return
}