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