style: Hide Workspace

This commit is contained in:
fit2cloud-chenyw
2025-06-10 16:33:04 +08:00
parent 487474b525
commit 44315c3abd
2 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -3,7 +3,7 @@
<div class="main-menu" :class="{ 'main-menu-sidebar': !topLayout, 'main-menu-topbar': topLayout }">
<div class="logo">SQLBot</div>
<div v-if="!topLayout || !showSubmenu"
<!-- <div v-if="!topLayout || !showSubmenu"
:class="{ 'workspace-area': !topLayout, 'topbar-workspace-area': topLayout }">
<el-select
v-model="workspace"
@@ -26,7 +26,7 @@
:value="item.value"
/>
</el-select>
</div>
</div> -->
<el-menu
v-if="!topLayout || !showSubmenu"
:default-active="activeMenu"
@@ -285,6 +285,9 @@ onMounted(() => {
flex: 1;
border-right: none;
border-bottom: none;
&:not(.ed-menu--vertical) {
margin-left: 32px
}
}
}
+3 -3
View File
@@ -91,14 +91,14 @@ const router = createRouter({
{
path: "/system",
component: Layout,
redirect: "/system/user",
redirect: "/system/model",
children: [
{
/* {
path: "user",
name: "user",
component: User,
meta: { title: "User Management", icon: "icon_user" },
},
}, */
{
path: "model",
name: "model",