Browse Source

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

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

* Update frameView.vue

---------

Co-authored-by: gaotian <gaotian@formssi.com>
Co-authored-by: xiaoming <1923740402@qq.com>
HighSky 1 year ago
parent
commit
e5abbfa088
1 changed files with 2 additions and 1 deletions
  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;