fix: 侧边栏菜单光标保持默认箭头

This commit is contained in:
Logan.Li committed 2026-09-14 23:05:50 +08:00
1 parent 473dcd0aab
commit 53678b3ca9
1 file changed
+7
+7
View File
@@ -212,6 +212,13 @@ async function submitChangePassword() {
</script>
<style scoped>
/* 侧边栏光标保持默认箭头,不切换手型 // Logan.Li */
.layout-aside :deep(.el-menu-item),
.layout-aside :deep(.el-sub-menu__title),
.layout-aside :deep(.logo) {
cursor: default;
}
.layout-container { height: 100vh; }
.layout-aside { background-color: #001529; transition: width 0.3s; overflow-x: hidden; }
.logo { height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 18px; font-weight: 600; }