optimize layout

This commit is contained in:
2025-03-22 03:27:08 +08:00
parent 543a2c0ae8
commit b96d10cb62
10 changed files with 65 additions and 57 deletions

View File

@@ -7,15 +7,15 @@
<NLoadingBarProvider>
<Suspense>
<TempComponent>
<NElement>
<NLayoutContent>
<ViewerLayout v-if="layout == 'viewer'" />
<ManageLayout v-else-if="layout == 'manage'" />
<OpenLiveLayout v-else-if="layout == 'open-live'" />
<OBSLayout v-else-if="layout == 'obs'" />
<template v-else-if="layout == ''">
<template v-else>
<RouterView />
</template>
</NElement>
</NLayoutContent>
</TempComponent>
<template #fallback>
<NSpin size="large" show />