修复补号bug
This commit is contained in:
@@ -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;
|
||||
// 手机端默认收起侧边栏
|
||||
|
||||
Reference in New Issue
Block a user