From c86d3beff061a534ba19a0d92831db6c976ba247 Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Tue, 31 Oct 2023 20:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/login/index.vue b/pages/login/index.vue index e8a18c7..e46b177 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -90,7 +90,7 @@ import store from '@/store' // 点击登录 handleLogin() { const app = this - if (!app.isLoading && app.formValidationName(app.mobile)) { + if (!app.isLoading && app.formValidationName(app.mobile) && app.formValidationPass(app.vpass)) { app.submitLogin() } }, @@ -126,7 +126,7 @@ import store from '@/store' // 显示登录成功 app.$toast(result.message) // 到设备选择 - this.$route("pages/verfiy/choosedev") + this.$navTo("pages/verfiy/choosedev") // 相应全局事件订阅: 刷新上级页面数据 // uni.$emit('syncRefresh', true)