#6 优化

Open
yuanyuan wants to merge 101 commits from panhui/dev into panhui/yuan
2 changed files with 2 additions and 1 deletions
  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);
 window.addEventListener('resize', onWindowResize);
+onWindowResize();
 Toast.setDefaultOptions('loading', { duration: 0 });
 Toast.setDefaultOptions('loading', { duration: 0 });
 require('dayjs/locale/zh-cn');
 require('dayjs/locale/zh-cn');
 
 

+ 1 - 1
src/views/Mine.vue

@@ -346,7 +346,7 @@ export default {
 <style lang="less" scoped>
 <style lang="less" scoped>
 .content {
 .content {
     width: 100%;
     width: 100%;
-    height: calc(var(--app-height));
+    min-height: calc(var(--app-height));
     // position: absolute;
     // position: absolute;
     // margin-top: 44px;
     // margin-top: 44px;
     background: @bg;
     background: @bg;