From ba9dbeee7c139c67d770afe0053f06f1f235e565 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期二, 17 十月 2023 10:56:35 +0800 Subject: [PATCH] qxtj --- src/views/login.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 0e7e3c4..1699487 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,6 +1,10 @@ <template> <div class="login"> - <h1>鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</h1> + <!-- <div style="padding-top: 130px;"> --> + <h2>鍏村钩鍏村寲绀惧尯鏈嶅姟绔�</h2> + <h1>鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</h1> + <!-- </div> --> + <el-form :inline="true" ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <div class="img"> @@ -61,7 +65,7 @@ </template> <script> -import { getCodeImg ,getconfigKey} from "@/api/login"; +import { getCodeImg, getconfigKey } from "@/api/login"; import Cookies from "js-cookie"; import { encrypt, decrypt } from '@/utils/jsencrypt' @@ -97,7 +101,7 @@ openeye: require('../assets/images/by.png'), flag: false, loading: false, - configKey:"captcha_switch", + configKey: "captcha_switch", // // 楠岃瘉鐮佸紑鍏� captchaEnabled: true, // 娉ㄥ唽寮�鍏� @@ -134,18 +138,18 @@ this.getCookie(); }, methods: { - getstate(){ + getstate() { getconfigKey().then(res => { - if(res.msg == "Y"){ + if (res.msg == "Y") { this.captchaEnabled = true this.getCode(); - }else if(res.msg == "N"){ + } else if (res.msg == "N") { this.captchaEnabled = false } }) }, - + hide() { this.loginForm.username = "10001"; this.loginForm.password = "admin123"; -- Gitblit v1.8.0