From 3c5237463483d193ca5520de73dcb3ec99c57877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=BF=94=E5=AE=87-=E6=97=85=E7=AE=A1=E5=AE=B6?= <153298343@qq.com> Date: Sat, 28 Jan 2023 10:38:33 +0800 Subject: [PATCH] up --- src/router/index.js | 4 +++- src/views/login/index.vue | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 3bf369d..727c48f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -70,7 +70,9 @@ export const constantRoutes = [{ } }, ] } -] +] + + /** * asyncRoutes diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 3aa8b7c..d50357a 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -106,7 +106,8 @@ this.$nextTick(() => { this.$refs.password.focus() }) - }, + }, + //处理登录 handleLogin() { this.$refs.loginForm.validate(valid => { if (valid) {