riku
2024-10-18 c7bd6db3190ff5c4b55d004db0b9fa944604925f
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>