#6 优化

오픈
yuanyuan panhui/dev 에서 panhui/yuan 로 101 commits 를 머지하려 합니다
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/main.js
  2. 1 1
      src/views/Mine.vue

+ 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');
 

+ 1 - 1
src/views/Mine.vue

@@ -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;