🐛(component): 调整 menu 的 popup menu 背景色
This commit is contained in:
@@ -315,7 +315,7 @@
|
||||
.layui-sub-menu-popup-content {
|
||||
border: unset;
|
||||
border-radius: 2px;
|
||||
background-color: #353535;
|
||||
background-color: #393d49;
|
||||
|
||||
.layui-nav-item {
|
||||
width: 100%;
|
||||
|
||||
@@ -26,10 +26,7 @@ const isOpen = computed(() => {
|
||||
});
|
||||
|
||||
const computedTheme = computed(() => {
|
||||
if (isTree.value) {
|
||||
return theme.value === "light" ? "-light" : "";
|
||||
}
|
||||
return theme.value === "light" ? "" : "-light";
|
||||
return theme.value === "light" ? "-light" : "";
|
||||
});
|
||||
|
||||
const computedExpandIcon = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user