Skip to content

Commit

Permalink
feat: 加上app create start 表示以便判断是否是热更新引用拿到
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Nov 7, 2022
1 parent 97c7d14 commit c083ef1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { event, mitter } from './event';
import layoutMenuItem from '@/layout/components/menu/components/menuItem.vue';
export const app = createApp(App);
export async function bootscrapt() {
<<<<<<< HEAD
app.config.globalProperties.$start = true;
=======
app.config.globalProperties.start = true;
>>>>>>> cb1a17b (feat: 加上app create start 表示以便判断是否是热更新引用拿到)
app.component('LayoutMenuItem', layoutMenuItem);
await Promise.allSettled(mitter.emit(event.START, app));
mitter.emit(event.READY, app);
Expand Down

0 comments on commit c083ef1

Please sign in to comment.