fix(main.ts): fix imported module and function for correct init

This commit is contained in:
Sped0n
2023-11-03 08:48:31 +08:00
parent 2229c56b1e
commit 98f2012e9d

View File

@@ -11,8 +11,8 @@ initNav()
if (ijs.length > 0) {
if (!isMobile()) {
const d = await import('./desktop/stage')
d.initStage(ijs)
const d = await import('./desktop/init')
d.initDesktop(ijs)
} else {
const m = await import('./mobile/init')
m.initMobile(ijs)