mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 22:58:37 +08:00
chore: 优化左树右表
This commit is contained in:
@@ -33,10 +33,10 @@
|
||||
</a-doption>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
<a-popover
|
||||
<a-popover
|
||||
v-if="showSettingColumnBtn" trigger="click" position="br"
|
||||
:content-style="{ minWidth: '120px', padding: '6px 8px 10px' }"
|
||||
>
|
||||
>
|
||||
<a-tooltip content="列设置">
|
||||
<a-button>
|
||||
<template #icon>
|
||||
@@ -77,15 +77,15 @@
|
||||
</a-row>
|
||||
<div class="gi-table__body" :class="`gi-table__body-pagination-${attrs['page-position']}`">
|
||||
<div class="gi-table__container">
|
||||
<a-table
|
||||
ref="tableRef"
|
||||
:stripe="stripe"
|
||||
:size="size"
|
||||
column-resizable
|
||||
:bordered="{ cell: isBordered }"
|
||||
v-bind="{ ...attrs, columns: _columns }"
|
||||
:scrollbar="true"
|
||||
:data="data"
|
||||
<a-table
|
||||
ref="tableRef"
|
||||
:stripe="stripe"
|
||||
:size="size"
|
||||
column-resizable
|
||||
:bordered="{ cell: isBordered }"
|
||||
v-bind="{ ...attrs, columns: _columns }"
|
||||
:scrollbar="true"
|
||||
:data="data"
|
||||
>
|
||||
<template v-for="key in Object.keys(slots)" :key="key" #[key]="scoped">
|
||||
<slot :key="key" :name="key" v-bind="scoped"></slot>
|
||||
@@ -235,7 +235,7 @@ defineExpose({ tableRef })
|
||||
height: 100%;
|
||||
background: var(--color-bg-1);
|
||||
position: relative;
|
||||
box-sizing:border-box;
|
||||
box-sizing: border-box;
|
||||
&--fullscreen {
|
||||
padding: $padding;
|
||||
position: fixed;
|
||||
@@ -256,6 +256,10 @@ defineExpose({ tableRef })
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
:deep(.arco-table-container) {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
:deep(.arco-table-body) {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user