update 优化代码
This commit is contained in:
parent
660d5b3d4f
commit
e5de3f4e9d
@ -26,7 +26,7 @@
|
|||||||
z-index: 1001;
|
z-index: 1001;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
-webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
-webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
||||||
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
// reset element-ui css
|
// reset element-ui css
|
||||||
.horizontal-collapse-transition {
|
.horizontal-collapse-transition {
|
||||||
|
@ -51,7 +51,7 @@ const topMenus = computed(() => {
|
|||||||
routers.value.map((menu) => {
|
routers.value.map((menu) => {
|
||||||
if (menu.hidden !== true) {
|
if (menu.hidden !== true) {
|
||||||
// 兼容顶部栏一级菜单内部跳转
|
// 兼容顶部栏一级菜单内部跳转
|
||||||
if (menu.path === '/') {
|
if (menu.path === '/' && menu.children) {
|
||||||
topMenus.push(menu.children ? menu.children[0] : menu);
|
topMenus.push(menu.children ? menu.children[0] : menu);
|
||||||
} else {
|
} else {
|
||||||
topMenus.push(menu);
|
topMenus.push(menu);
|
||||||
|
@ -43,7 +43,7 @@ onMounted(() => {
|
|||||||
addIframe()
|
addIframe()
|
||||||
})
|
})
|
||||||
|
|
||||||
watchEffect((route) => {
|
watchEffect(() => {
|
||||||
addIframe()
|
addIframe()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -260,10 +260,9 @@ onMounted(() => {
|
|||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
padding: 25px 25px 5px 25px;
|
padding: 25px 25px 5px 25px;
|
||||||
|
z-index: 1;
|
||||||
.el-input {
|
.el-input {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user