mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
调整主导航菜单按钮的颜色
This commit is contained in:
@@ -4,7 +4,7 @@ defineProps(['funcName', 'index'])
|
||||
|
||||
<template>
|
||||
<el-menu-item :index="index">
|
||||
<el-icon :size="30">
|
||||
<el-icon :size="30" style="margin: 0">
|
||||
<slot name="iconSlot"></slot>
|
||||
</el-icon>
|
||||
<span>{{ funcName }}</span>
|
||||
@@ -21,10 +21,12 @@ defineProps(['funcName', 'index'])
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #ecf5ff;
|
||||
}
|
||||
|
||||
.el-menu-item.is-active {
|
||||
background-color: #a0cfff;
|
||||
background-color: #79bbff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.el-icon {
|
||||
|
||||
@@ -66,7 +66,6 @@ const login = async () => {
|
||||
await form.value.validate() // 登录之前预校验
|
||||
const res = await userLoginService(formModel.value)
|
||||
ElMessage.success('登录成功')
|
||||
console.log(res)
|
||||
userData.setAt(res.data.data.accessToken)
|
||||
userData.setRt(res.data.data.refreshToken)
|
||||
router.push('/')
|
||||
|
||||
Reference in New Issue
Block a user