Skip to content

Commit 44315c3

Browse files
style: Hide Workspace
1 parent 487474b commit 44315c3

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

frontend/src/components/layout/index.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="main-menu" :class="{ 'main-menu-sidebar': !topLayout, 'main-menu-topbar': topLayout }">
44
<div class="logo">SQLBot</div>
55

6-
<div v-if="!topLayout || !showSubmenu"
6+
<!-- <div v-if="!topLayout || !showSubmenu"
77
:class="{ 'workspace-area': !topLayout, 'topbar-workspace-area': topLayout }">
88
<el-select
99
v-model="workspace"
@@ -26,7 +26,7 @@
2626
:value="item.value"
2727
/>
2828
</el-select>
29-
</div>
29+
</div> -->
3030
<el-menu
3131
v-if="!topLayout || !showSubmenu"
3232
:default-active="activeMenu"
@@ -285,6 +285,9 @@ onMounted(() => {
285285
flex: 1;
286286
border-right: none;
287287
border-bottom: none;
288+
&:not(.ed-menu--vertical) {
289+
margin-left: 32px
290+
}
288291
}
289292
}
290293

frontend/src/router/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ const router = createRouter({
9191
{
9292
path: "/system",
9393
component: Layout,
94-
redirect: "/system/user",
94+
redirect: "/system/model",
9595
children: [
96-
{
96+
/* {
9797
path: "user",
9898
name: "user",
9999
component: User,
100100
meta: { title: "User Management", icon: "icon_user" },
101-
},
101+
}, */
102102
{
103103
path: "model",
104104
name: "model",

0 commit comments

Comments
 (0)