panhui hace 3 años
padre
commit
49a8b230c8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

@@ -39,6 +39,7 @@ const onWindowResize = () => {
     }
 };
 window.addEventListener('resize', onWindowResize);
+onWindowResize();
 Toast.setDefaultOptions('loading', { duration: 0 });
 require('dayjs/locale/zh-cn');