fix(嵌入式): 数据集页面通过iframe方式嵌入后,编辑数据集,保存退出后页面一直在滚动

This commit is contained in:
dataeaseShu 2024-06-19 18:32:51 +08:00
parent c708aeb071
commit 62f722d3ba

View File

@ -531,7 +531,7 @@ const getMenuList = (val: boolean) => {
</script>
<template>
<div class="dataset-manage" v-loading="dtLoading">
<div class="dataset-manage" :class="isIframe && 'de-100vh'" v-loading="dtLoading">
<ArrowSide
:style="{ left: (sideTreeStatus ? width - 12 : 0) + 'px' }"
@change-side-tree-status="changeSideTreeStatus"
@ -683,7 +683,7 @@ const getMenuList = (val: boolean) => {
<div
class="dataset-content"
:class="{
auto: isDataEaseBi
auto: isIframe || isDataEaseBi
}"
>
<template v-if="!state.datasetTree.length && mounted">
@ -879,6 +879,10 @@ const getMenuList = (val: boolean) => {
background: #fff;
position: relative;
&.de-100vh {
height: 100vh;
}
.resource-area {
position: relative;
height: 100%;