浏览代码

fix:修复内嵌页面`frameView`在隐藏标签页后高度没有自适应 (#705)

* fix:frameView组件隐藏标签页时高度没有自适应

* Update frameView.vue

---------

Co-authored-by: gaotian <gaotian@formssi.com>
Co-authored-by: xiaoming <1923740402@qq.com>
HighSky 1 年之前
父节点
当前提交
e5abbfa088
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/layout/frameView.vue

+ 2 - 1
src/layout/frameView.vue

@@ -57,7 +57,8 @@ onMounted(() => {
 <style lang="scss" scoped>
 .frame {
   z-index: 998;
-  height: calc(100vh - 88px);
+  position: absolute;
+  inset: 0;
 
   .frame-iframe {
     box-sizing: border-box;