{#if loading}
加载中...
{:else if !me && (path === '/login' || path === '/init')}

LightOps

{path === '/init' ? '初始化管理员' : '登录主控端'}

e.key === 'Enter' && login(path === '/init')} /> {#if error}

{error}

{/if}
{:else}
{me?.username}
{#if path.startsWith('/nodes/') && path.endsWith('/files')} {:else if path.startsWith('/nodes/') && path.endsWith('/terminal')} {:else if path.startsWith('/nodes/') && path.endsWith('/logs')} {:else if path.startsWith('/nodes/') && path.endsWith('/services')} {:else if path.startsWith('/nodes/') && path.endsWith('/nginx')} {:else if path.startsWith('/nodes/') && path.endsWith('/docker')} {:else if path.startsWith('/nodes/') && path.endsWith('/tasks')} {:else if path.startsWith('/nodes/') && path.endsWith('/apps/manage')} {:else if path.startsWith('/nodes/') && path.includes('/apps/') && nodeAppId !== 'manage'} {:else if path.startsWith('/nodes/') && path.endsWith('/apps')} {:else if path.startsWith('/nodes/')} {:else if path === '/apps'} {:else if path === '/store'} {:else if storeSlug} {:else if path === '/nodes'} {:else if path === '/audit'} {:else if path === '/tasks'} {:else if path === '/alerts'} {:else if path === '/users'} {:else if path === '/settings'} {:else} {/if}
{/if}