|
|
@ -41,11 +41,6 @@ const { switchDark } = useTheme(); |
|
|
|
|
|
|
|
|
|
|
|
let timer: NodeJS.Timer | null = null; |
|
|
|
let timer: NodeJS.Timer | null = null; |
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
|
|
|
|
if (!tabsStore.activeTabPath) { |
|
|
|
|
|
|
|
handleMenuClick('/'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
const classObj = computed(() => { |
|
|
|
const classObj = computed(() => { |
|
|
|
return { |
|
|
|
return { |
|
|
|
fullScreen: globalStore.isFullScreen, |
|
|
|
fullScreen: globalStore.isFullScreen, |
|
|
@ -163,6 +158,10 @@ onBeforeUnmount(() => { |
|
|
|
timer = null; |
|
|
|
timer = null; |
|
|
|
}); |
|
|
|
}); |
|
|
|
onMounted(() => { |
|
|
|
onMounted(() => { |
|
|
|
|
|
|
|
if (globalStore.openMenuTabs && !tabsStore.activeTabPath) { |
|
|
|
|
|
|
|
handleMenuClick('/'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
loadStatus(); |
|
|
|
loadStatus(); |
|
|
|
initFavicon(); |
|
|
|
initFavicon(); |
|
|
|
loadDataFromDB(); |
|
|
|
loadDataFromDB(); |
|
|
|