From 87958d6d33603fa673cb7c8f5caf2394689959bf Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期四, 21 十一月 2024 11:00:43 +0800
Subject: [PATCH] 1. 图片选择组件移动到全局组件文件夹 2. 涉及到使用图片选择组件添加图片区域loading 3. 无用页面删除

---
 src/components/core/BaseContentLayout.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/core/BaseContentLayout.vue b/src/components/core/BaseContentLayout.vue
index ce92424..46135f0 100644
--- a/src/components/core/BaseContentLayout.vue
+++ b/src/components/core/BaseContentLayout.vue
@@ -30,14 +30,16 @@
       if (this.$refs.headerRef) {
         const h1 = this.$refs.headerRef.$el.offsetHeight;
         const h = h1;
-        return `calc(100vh - ${h}px - 60px - var(--el-main-padding) * 2)`;
+        return `calc(100vh - ${h}px - 60px - var(--el-main-padding) * 2 + 6px)`;
       } else {
         return `calc(100vh - 60px * 2 - var(--el-main-padding) * 2)`;
       }
     }
   },
   mounted() {
-    this.mainHeight = this.calHeight();
+    setTimeout(() => {
+      this.mainHeight = this.calHeight();
+    }, 150);
   }
 };
 </script>

--
Gitblit v1.9.3