mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(User Management): Batch Operation Scroll to the page turner and the user needs to operate
This commit is contained in:
@@ -231,7 +231,7 @@ const handleCurrentChange = (val: number) => {
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-content">
|
||||
<div class="table-content" :class="multipleSelectionAll.length && 'show-pagenation_height'">
|
||||
<div class="preview-or-schema">
|
||||
<el-table
|
||||
ref="multipleTableRef"
|
||||
@@ -396,6 +396,10 @@ const handleCurrentChange = (val: number) => {
|
||||
max-height: calc(100% - 104px);
|
||||
overflow-y: auto;
|
||||
|
||||
&.show-pagenation_height {
|
||||
max-height: calc(100% - 165px);
|
||||
}
|
||||
|
||||
.preview-or-schema {
|
||||
.user-status-container {
|
||||
display: flex;
|
||||
|
||||
@@ -38,7 +38,13 @@
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sqlbot-table" :class="state.filterTexts.length && 'is-filter'">
|
||||
<div
|
||||
class="sqlbot-table"
|
||||
:class="[
|
||||
state.filterTexts.length && 'is-filter',
|
||||
multipleSelectionAll.length && 'show-pagenation_height',
|
||||
]"
|
||||
>
|
||||
<filter-text
|
||||
:total="state.pageInfo.total"
|
||||
:filter-texts="state.filterTexts"
|
||||
@@ -854,6 +860,10 @@ onMounted(() => {
|
||||
max-height: calc(100vh - 150px);
|
||||
overflow-y: auto;
|
||||
|
||||
&.show-pagenation_height {
|
||||
max-height: calc(100vh - 215px);
|
||||
}
|
||||
|
||||
:deep(.ed-popper.is-dark) {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
@@ -395,7 +395,7 @@ const handleCurrentChange = (val: number) => {
|
||||
</el-input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-content">
|
||||
<div class="table-content" :class="multipleSelectionAll.length && 'show-pagenation_height'">
|
||||
<div class="preview-or-schema">
|
||||
<el-table
|
||||
ref="multipleTableRef"
|
||||
@@ -731,6 +731,10 @@ const handleCurrentChange = (val: number) => {
|
||||
height: calc(100% - 168px);
|
||||
overflow-y: auto;
|
||||
|
||||
&.show-pagenation_height {
|
||||
height: calc(100% - 220px);
|
||||
}
|
||||
|
||||
.preview-or-schema {
|
||||
:deep(.user-source) {
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user