From 1c25e18d0fdeb2f16f06b8ce37d44a33226c8b04 Mon Sep 17 00:00:00 2001 From: Kane Wang Date: Mon, 26 Dec 2022 18:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=BF=9B=E5=BA=A6=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin_system/src/views/account/Login.vue | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/企业级管理系统/web/admin_system/src/views/account/Login.vue b/企业级管理系统/web/admin_system/src/views/account/Login.vue index 6d6428c..cd259b7 100644 --- a/企业级管理系统/web/admin_system/src/views/account/Login.vue +++ b/企业级管理系统/web/admin_system/src/views/account/Login.vue @@ -3,7 +3,7 @@ * @Author: Kane * @Date: 2022-12-14 15:23:54 * @LastEditors: Kane - * @LastEditTime: 2022-12-25 20:27:50 + * @LastEditTime: 2022-12-26 16:50:02 * @FilePath: \admin_system\src\views\account\Login.vue * @Description: * @@ -43,9 +43,10 @@ - {{ current_menu === "login" ? "登录" : - "注册" - }} + + {{ current_menu === "login" ? "登录" : "注册" }} + @@ -73,6 +74,8 @@ export default { ], current_menu: "", staffInfo: null, + submit_btn_disable: false, + submit_btn_loading: false, }; }, methods: { @@ -91,6 +94,9 @@ export default { }, login() { + this.submit_btn_disable = true; + this.submit_btn_loading = true; + const userInfo = { p13account: "588", password: "Kane@19831", @@ -120,6 +126,9 @@ export default { center: true, }); } + + this.submit_btn_disable = false; + this.submit_btn_loading = false; }) .catch((error) => { @@ -130,6 +139,9 @@ export default { type: "error", center: true, }); + + this.submit_btn_disable = false; + this.submit_btn_loading = false; }); } },