国际化

This commit is contained in:
2026-01-21 18:59:24 +08:00
parent 7491f7cdaf
commit 4354dec998
15 changed files with 176 additions and 91 deletions

View File

@@ -84,23 +84,11 @@
})
},
async toLogin() {
uni.redirectTo({
url: '/pages/home/home'
})
// uni.redirectTo({
// url: '/pages/home/home'
// })
this.disabled = true
if (this.user === '') {
// uni.showToast({
// title: '用户名不能为空',
// icon: 'none'
// })
this.disabled = false
return
}
if (this.password === '') {
// uni.showToast({
// title: '密码不能为空',
// icon: 'none'
// })
if (this.user === '' || this.password === '') {
this.disabled = false
return
}