{#if $sidebarStore.isOpen}
e.key === 'Escape' && handleMobileClose()} transition:fade={{ duration: 200 }} >
{/if}
{#if $authStore.isAuthenticated}
{ console.log("退出登录") authService.logout() }} aria-label="Logout" >
{:else}
{goto(resolve("/auth/login"))}}>登录
{/if}
{@render children()}