|  |  | 
 |  |  | import 'ant-design-vue/dist/reset.css'; | 
 |  |  | import { initRouter } from '@/router/index.js' | 
 |  |  | import { globalState } from './config.js' | 
 |  |  | import print from 'vue3-print-nb' | 
 |  |  | import { loadData } from '@/utils/localeUtils.js' | 
 |  |  |  | 
 |  |  | const app = createApp(App) | 
 |  |  |  | 
 |  |  | 
 |  |  |         let locale = localStorage.getItem('locale') | 
 |  |  |         globalState.token = token; | 
 |  |  |         globalState.user = user; | 
 |  |  |         globalState.locale = locale; | 
 |  |  |         if(locale != null) { | 
 |  |  |             globalState.locale = locale; | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         loadData(globalState.locale) | 
 |  |  |     } | 
 |  |  | } | 
 |  |  |  | 
 |  |  | 
 |  |  |     app.use(createPinia()) | 
 |  |  |     app.use(router) | 
 |  |  |     app.use(Antd) | 
 |  |  |     app.mount('#app') | 
 |  |  |     app.use(print) | 
 |  |  |     router.isReady().then((e) => { | 
 |  |  |         app.mount('#app') | 
 |  |  |     }) | 
 |  |  | } | 
 |  |  | boot() | 
 |  |  |  |