From 1c328d7233aaa6ea48fbdfb73b415eb9837956a6 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Fri, 11 Aug 2023 10:20:08 +0800
Subject: [PATCH] 预警管理、基础信息管理页面
---
src/views/loginPage/component/accountLogin.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/loginPage/component/accountLogin.vue b/src/views/loginPage/component/accountLogin.vue
index cf4d1c8..d6c456d 100644
--- a/src/views/loginPage/component/accountLogin.vue
+++ b/src/views/loginPage/component/accountLogin.vue
@@ -190,6 +190,7 @@
state.loading.signIn = true;
// 存储 token 到浏览器缓存
let res = await useLoginApi().signIn(state.ruleForm);
+ console.log(res)
if (res.data.code === 100) {
await userInfo.setUserInfos(res.data.data);
Cookies.set('token', res.data.data.tk);
@@ -230,7 +231,7 @@
let res = await useMenuApi().getMenuAdmin();
if (res.data.code === 100) {
state.menu = JSON.parse(JSON.stringify(res.data.data))
- router.push(state.menu[0].children[0].path);
+ router.push(state.menu[0].path);
} else {
ElMessage({
type: 'warning',
@@ -332,6 +333,9 @@
border-radius: 2px;
padding: 0 30px;
border: 1px solid rgba(17,254,238,.4);
+ .el-input__inner{
+ color: #fff;
+ }
&:focus-within {
border: 1px solid #11FEEE;
}
--
Gitblit v1.9.2