修复补号bug

This commit is contained in:
2026-04-29 18:54:02 +08:00
parent bbecc5650d
commit e776179c72
4 changed files with 60 additions and 6 deletions
+10
View File
@@ -183,7 +183,17 @@ const asideTextColor = ref("#bfcbd9");
const activeColor = ref("#3973FF");
const activeBgColor = ref("#3973FF");
const isMobile = ref(false);
const mobileOpen = computed(() => isMobile.value && !isCollapse.value);
const currentModuleId = ref(null);
const closeMobile = () => {
if (isMobile.value) {
store.state.isCollapse = true;
}
};
const updateDeviceType = () => {
isMobile.value = window.innerWidth <= 768;
// 手机端默认收起侧边栏