mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix: bug fix
This commit is contained in:
@@ -335,7 +335,11 @@ const btnSelectClick = (val: any) => {
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<div v-if="!loading" class="preview-or-schema">
|
||||
<div
|
||||
v-if="!loading"
|
||||
class="preview-or-schema"
|
||||
:class="btnSelect === 'q' && 'overflow-preview'"
|
||||
>
|
||||
<div v-if="btnSelect === 'd'" class="table-content_preview">
|
||||
<el-table :data="fieldListComputed" style="width: 100%">
|
||||
<el-table-column
|
||||
@@ -642,6 +646,10 @@ const btnSelectClick = (val: any) => {
|
||||
margin-top: 16px;
|
||||
height: calc(100% - 50px);
|
||||
|
||||
&.overflow-preview {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.table-content_preview {
|
||||
max-height: calc(100% - 50px);
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user