master
271556543@qq.com 3 years ago
parent 865132c2be
commit 544ec611d7

@ -66,7 +66,7 @@
letterSpacing: "10rpx", letterSpacing: "10rpx",
marginTop: "66rpx", marginTop: "66rpx",
}, },
isRemeber: false, isRemeber: true,
form: { form: {
username: "", username: "",
password: "", password: "",
@ -76,7 +76,7 @@
methods: { methods: {
login() { login() {
if(this.form.username==""){ if (this.form.username == "") {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: `请正确填写登录名`, title: `请正确填写登录名`,
@ -84,7 +84,7 @@
return false return false
} }
if(this.form.password==""){ if (this.form.password == "") {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: `请正确填写密码`, title: `请正确填写密码`,

Loading…
Cancel
Save