Skip to content

Commit 687c5c1

Browse files
committed
重构:在MainLayout.vue中移除移动端菜单状态,删除不再需要的自定义样式。
1 parent ebaff24 commit 687c5c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

frontend/src/pages/MainLayout.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ const route = useRoute();
157157
const isModelPage = computed(() => route.path.startsWith('/models'));
158158
const isPromptPage = computed(() => route.path.startsWith('/prompts'));
159159
160-
// 移动端菜单状态
161-
const mobileMenuOpen = ref(false);
160+
// 主题状态
162161
const darkMode = ref(false);
163162
164163
// 设置相关状态
@@ -227,7 +226,3 @@ onMounted(async () => {
227226
}
228227
});
229228
</script>
230-
231-
<style>
232-
/* 不再需要自定义抽屉样式,使用FlyonUI标准抽屉组件 */
233-
</style>

0 commit comments

Comments
 (0)