panhui/dev
panhui/yuan
@@ -39,6 +39,7 @@ const onWindowResize = () => {
}
};
window.addEventListener('resize', onWindowResize);
+onWindowResize();
Toast.setDefaultOptions('loading', { duration: 0 });
require('dayjs/locale/zh-cn');
@@ -346,7 +346,7 @@ export default {
<style lang="less" scoped>
.content {
width: 100%;
- height: calc(var(--app-height));
+ min-height: calc(var(--app-height));
// position: absolute;
// margin-top: 44px;
background: @bg;