|
@@ -11,6 +11,8 @@ import Deferred from "@/utils/Deferred";
|
|
|
import store from '../store'
|
|
|
import VueLazyLoad from 'vue3-lazyload'
|
|
|
|
|
|
+console.log('2023.5.15.18.21');
|
|
|
+
|
|
|
let App;
|
|
|
if (
|
|
|
browser.detectChrome() ||
|
|
@@ -52,4 +54,11 @@ loadLocaleMessages(i18n, local).then(() => {
|
|
|
app.use(VueLazyLoad);
|
|
|
app.directive("click-outside", ClickOutSide);
|
|
|
app.mount("#app");
|
|
|
+
|
|
|
+ window.addEventListener('resize', () => {
|
|
|
+ const appElem = document.querySelector('#app')
|
|
|
+ if (appElem) {
|
|
|
+ appElem.style.height = window.innerHeight + 'px'
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|