From 44315c3abdf63285db8bcb12a3ef190058e81666 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 10 Jun 2025 16:32:50 +0800 Subject: [PATCH] style: Hide Workspace --- frontend/src/components/layout/index.vue | 7 +++++-- frontend/src/router/index.ts | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/layout/index.vue b/frontend/src/components/layout/index.vue index 68cbf836..4cfa3944 100644 --- a/frontend/src/components/layout/index.vue +++ b/frontend/src/components/layout/index.vue @@ -3,7 +3,7 @@ --> { flex: 1; border-right: none; border-bottom: none; + &:not(.ed-menu--vertical) { + margin-left: 32px + } } } diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index c0fd1513..8fba4d81 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -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",