mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2026-04-25 03:34:23 +08:00
fix(components): fix scrollbar display issue in table-column-setting component
This commit is contained in:
@@ -82,7 +82,12 @@ function toggleSelectAll(checked: boolean) {
|
|||||||
</NCheckbox>
|
</NCheckbox>
|
||||||
</div>
|
</div>
|
||||||
<NDivider class="!my-4px" />
|
<NDivider class="!my-4px" />
|
||||||
<VueDraggable v-model="columns" :animation="150" filter=".none_draggable" class="max-h-[200px] overflow-y-auto">
|
<VueDraggable
|
||||||
|
v-model="columns"
|
||||||
|
:animation="150"
|
||||||
|
filter=".none_draggable"
|
||||||
|
class="column-setting-scroll max-h-[200px] overflow-y-auto"
|
||||||
|
>
|
||||||
<div
|
<div
|
||||||
v-for="item in columns"
|
v-for="item in columns"
|
||||||
:key="item.key"
|
:key="item.key"
|
||||||
@@ -114,4 +119,8 @@ function toggleSelectAll(checked: boolean) {
|
|||||||
</NPopover>
|
</NPopover>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped lang="scss">
|
||||||
|
.column-setting-scroll {
|
||||||
|
@include scrollbar();
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user