forked from github/dataease
fix(嵌入式): 数据集页面通过iframe方式嵌入后,编辑数据集,保存退出后页面一直在滚动
This commit is contained in:
parent
c708aeb071
commit
62f722d3ba
@ -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%;
|
||||
|
Loading…
Reference in New Issue
Block a user