From c2ca81f5bff6642e3728d60f6e7a836e447de6b5 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期一, 01 七月 2024 16:27:19 +0800 Subject: [PATCH] fix:修改音频题 --- src/views/login/index.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index c11c07c..9b4d3a0 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -107,12 +107,10 @@ const handleLogin = () => { loginFormRef.value.validate((valid) => { if (valid) { - router.push('/index'); - return; loading.value = true; - login({}).then(res => { - console.log(res); + login(loginForm).then(res => { loading.value = false; + router.push('/index'); }).catch(err => { console.log(err); loading.value = false; -- Gitblit v1.8.0