embed uiが正常に読み込まれない問題を修正

This commit is contained in:
kakkokari-gtyih
2024-06-25 23:51:32 +09:00
parent 9c115c87c7
commit b507b6240c
2 changed files with 7 additions and 4 deletions

View File

@@ -7,8 +7,8 @@ import { createApp, defineAsyncComponent } from 'vue';
import { common } from './common.js';
import type { CommonBootOptions } from './common.js';
export async function subBoot(options?: Partial<CommonBootOptions>, isEmbedPage?: boolean) {
export async function subBoot(options?: Partial<CommonBootOptions>) {
const { isClientUpdated } = await common(() => createApp(
defineAsyncComponent(() => isEmbedPage ? import('@/ui/embed.vue') : import('@/ui/minimum.vue')),
defineAsyncComponent(() => import('@/ui/minimum.vue')),
), options);
}