|
@@ -23,7 +23,7 @@ import { registerGlobComp } from '/@/components/registerGlobComp';
|
|
|
import { registerThirdComp } from '/@/settings/registerThirdComp';
|
|
|
import { useSso } from '/@/hooks/web/useSso';
|
|
|
import { registerPackages } from '/@/utils/monorepo/registerPackages';
|
|
|
-// import { initModalWorker, initTHREE } from '/@/utils/threejs/main.worker';
|
|
|
+import { initModalWorker, initTHREE } from '/@/utils/threejs/main.worker';
|
|
|
|
|
|
// 在本地开发中引入的,以提高浏览器响应速度
|
|
|
if (import.meta.env.DEV) {
|
|
@@ -71,9 +71,9 @@ async function bootstrap() {
|
|
|
// 当路由准备好时再执行挂载( https://next.router.vuejs.org/api/#isready)
|
|
|
await router.isReady();
|
|
|
|
|
|
- // initModalWorker();
|
|
|
+ initModalWorker();
|
|
|
|
|
|
- // initTHREE();
|
|
|
+ initTHREE();
|
|
|
|
|
|
// 挂载应用
|
|
|
app.mount('#app', true);
|