fix: artifacts cannot preview

This commit is contained in:
kangfenmao 2025-01-14 23:24:49 +08:00
parent 66bc9cb3f9
commit a046cf32ba
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ export default defineConfig({
}
},
optimizeDeps: {
exclude: ['chunk-QH6N6I7P.js', 'chunk-PB73W2YU.js', 'chunk-AFE5XGNG.js']
exclude: ['chunk-QH6N6I7P.js', 'chunk-PB73W2YU.js', 'chunk-AFE5XGNG.js', 'chunk-QIJABHCK.js']
}
}
})

View File

@ -207,7 +207,7 @@ export default class MinApp {
static app: MinAppType | null = null
static async start(app: MinAppType) {
if (MinApp.app?.id === app.id) {
if (app?.id && MinApp.app?.id === app?.id) {
return
}