fix(数据源): 优化追加页面显示

This commit is contained in:
dataeaseShu 2024-12-04 10:53:56 +08:00
parent fe1aff27c1
commit 3045df1041

View File

@ -643,8 +643,8 @@ defineExpose({
:tab-list="tabList" :tab-list="tabList"
></SheetTabs> ></SheetTabs>
<div class="table-select_mode"> <div class="table-select_mode" v-if="param.editType === 0">
<div class="btn-select" v-if="param.editType === 0"> <div class="btn-select">
<el-button <el-button
@click="changeCurrentMode('preview')" @click="changeCurrentMode('preview')"
:class="[currentMode === 'preview' && 'is-active']" :class="[currentMode === 'preview' && 'is-active']"
@ -661,7 +661,11 @@ defineExpose({
</el-button> </el-button>
</div> </div>
</div> </div>
<div class="info-table" v-if="isResize"> <div
class="info-table"
:class="param.editType === 0 && 'info-table_height'"
v-if="isResize"
>
<el-auto-resizer v-if="currentMode === 'preview'"> <el-auto-resizer v-if="currentMode === 'preview'">
<template #default="{ height, width }"> <template #default="{ height, width }">
<el-table-v2 <el-table-v2
@ -836,8 +840,11 @@ defineExpose({
.info-table { .info-table {
width: 100%; width: 100%;
height: calc(100% - 200px);
&.info-table_height {
height: calc(100% - 379px); height: calc(100% - 379px);
} }
} }
} }
}
</style> </style>