fix(menu): fix menu icon missing close #328

This commit is contained in:
Vben
2021-03-07 20:59:11 +08:00
parent 491f1fcfff
commit d5d4c4b413
10 changed files with 22 additions and 146 deletions

View File

@@ -27,10 +27,11 @@ import { isDevMode } from '/@/utils/env';
(async () => {
const app = createApp(App);
// Register global components
registerGlobComp(app);
// Multilingual configuration
await setupI18n(app);
// Configure routing
setupRouter(app);
@@ -43,12 +44,8 @@ import { isDevMode } from '/@/utils/env';
// Configure global error handling
setupErrorHandle(app);
await Promise.all([
// Multilingual configuration
setupI18n(app),
// Mount when the route is ready
router.isReady(),
]);
// Mount when the route is ready
await router.isReady();
app.mount('#app', true);