调整claims获取方法 修复前端选中样式

This commit is contained in:
piexl
2021-10-25 14:08:07 +08:00
parent b5fa7604c6
commit 706e6fe288
11 changed files with 237 additions and 342 deletions
-1
View File
@@ -14,7 +14,6 @@ $width-mobile-aside:210px;
$color-aside:rgba(255, 255, 255, .9);
$icon-arrow-size-aside:12px;
$width-submenu-aside:55px;
$bg-aside:#191a23;
$height-aside-tilte:60px;
$height-aside-img:30px;
$width-aside-img:30px;
+1 -13
View File
@@ -568,7 +568,6 @@ li {
-webkit-transition: width .2s;
transition: width .2s;
width: $width-aside;
background-color: $bg-aside;
height: 100%;
position: fixed;
font-size: 0;
@@ -583,7 +582,6 @@ li {
.tilte {
min-height: $height-aside-tilte;
line-height: $height-aside-tilte;
background: $bg-aside;
text-align: center;
transition: all 0.3s;
.logoimg {
@@ -610,19 +608,13 @@ li {
padding: 0 15px !important;
}
}
.el-menu-vertical {
background-color: $bg-aside;
}
.el-sub-menu {
background-color: $bg-aside;
.el-menu {
.el-menu-item {
background-color: #000408;
height: 44px;
line-height: 44px;
}
.is-active {
background-color: #1890ff;
// 关闭三级菜单二级菜单样式
ul {
border: none;
@@ -630,7 +622,6 @@ li {
}
// 关闭三级菜单二级菜单样式
.is-active.is-opened {
background-color: #191a23;
ul {
border: none;
}
@@ -645,9 +636,6 @@ li {
.el-menu-item:hover span {
color: #fff;
}
.el-sub-menu__title:hover {
background-color: $bg-aside;
}
.el-sub-menu__title:hover i,
.el-sub-menu__title:hover span {
color: #fff;
@@ -1367,4 +1355,4 @@ $mainHight: 100vh;
.justify-content-flex-end {
justify-content: flex-end;
}
}
@@ -61,7 +61,7 @@
<el-table-column align="left" label="请求" prop="path" width="80">
<template #default="scope">
<div>
<el-popover v-if="scope.row.body" placement="top-start" trigger="hover">
<el-popover v-if="scope.row.body" placement="left-start" trigger="click">
<div class="popover-box">
<pre>{{ fmtBody(scope.row.body) }}</pre>
</div>
@@ -77,7 +77,7 @@
<el-table-column align="left" label="响应" prop="path" width="80">
<template #default="scope">
<div>
<el-popover v-if="scope.row.resp" placement="top-start" trigger="hover">
<el-popover v-if="scope.row.resp" placement="left-start" trigger="click">
<div class="popover-box">
<pre>{{ fmtBody(scope.row.resp) }}</pre>
</div>