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

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

* Update frameView.vue

---------

Co-authored-by: gaotian <gaotian@formssi.com>
Co-authored-by: xiaoming <1923740402@qq.com>
This commit is contained in:
HighSky 2023-09-03 10:30:38 +08:00 committed by GitHub
parent 967a9d4507
commit e5abbfa088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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