File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
frontend/src/views/system Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ const handleCurrentChange = (val: number) => {
231231 </el-button >
232232 </div >
233233 </div >
234- <div class =" table-content" >
234+ <div class =" table-content" :class = " multipleSelectionAll.length && 'show-pagenation_height' " >
235235 <div class =" preview-or-schema" >
236236 <el-table
237237 ref =" multipleTableRef"
@@ -396,6 +396,10 @@ const handleCurrentChange = (val: number) => {
396396 max-height : calc (100% - 104px );
397397 overflow-y : auto ;
398398
399+ & .show-pagenation_height {
400+ max-height : calc (100% - 165px );
401+ }
402+
399403 .preview-or-schema {
400404 .user-status-container {
401405 display : flex ;
Original file line number Diff line number Diff line change 3838 </el-button >
3939 </div >
4040 </div >
41- <div class =" sqlbot-table" :class =" state.filterTexts.length && 'is-filter'" >
41+ <div
42+ class =" sqlbot-table"
43+ :class =" [
44+ state.filterTexts.length && 'is-filter',
45+ multipleSelectionAll.length && 'show-pagenation_height',
46+ ]"
47+ >
4248 <filter-text
4349 :total =" state.pageInfo.total"
4450 :filter-texts =" state.filterTexts"
@@ -854,6 +860,10 @@ onMounted(() => {
854860 max-height : calc (100vh - 150px );
855861 overflow-y : auto ;
856862
863+ & .show-pagenation_height {
864+ max-height : calc (100vh - 215px );
865+ }
866+
857867 :deep(.ed-popper.is-dark ) {
858868 max-width : 400px ;
859869 }
Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ const handleCurrentChange = (val: number) => {
395395 </el-input >
396396 </div >
397397 </div >
398- <div class =" table-content" >
398+ <div class =" table-content" :class = " multipleSelectionAll.length && 'show-pagenation_height' " >
399399 <div class =" preview-or-schema" >
400400 <el-table
401401 ref =" multipleTableRef"
@@ -731,6 +731,10 @@ const handleCurrentChange = (val: number) => {
731731 height : calc (100% - 168px );
732732 overflow-y : auto ;
733733
734+ & .show-pagenation_height {
735+ height : calc (100% - 220px );
736+ }
737+
734738 .preview-or-schema {
735739 :deep(.user-source ) {
736740 cursor : pointer ;
You can’t perform that action at this time.
0 commit comments