#6 优化

Otevřený
yuanyuan chce sloučit 101 revizí z větve panhui/dev do větve panhui/yuan
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;