#6 优化

Открыто
yuanyuan хочет смерджить 101 коммит(ов) из panhui/dev в panhui/yuan
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;