style: 缓存管理页面排版

This commit is contained in:
TsMask
2024-01-10 16:39:18 +08:00
parent 0fafe3f388
commit a714b66496
2 changed files with 5 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ let cacheKeyTableColumns: ColumnsType = [
/**键名列表表格数据 */
let cacheKeyTable = reactive({
loading: true,
loading: false,
data: [],
/**当前键名列表的缓存名称 */
cacheName: '',
@@ -309,7 +309,7 @@ onMounted(() => {
:columns="cacheNameTableColumns"
:data-source="cacheNameTable.data"
:loading="cacheNameTable.loading"
:scroll="{ y: 1200 }"
:scroll="{ y: 'calc(100vh - 350px)' }"
:pagination="false"
:row-selection="{
type: 'radio',
@@ -396,7 +396,7 @@ onMounted(() => {
:columns="cacheKeyTableColumns"
:data-source="cacheKeyTable.data"
:loading="cacheKeyTable.loading"
:scroll="{ y: 1200 }"
:scroll="{ y: 'calc(100vh - 350px)' }"
:pagination="false"
:row-selection="{
type: 'radio',
@@ -484,7 +484,7 @@ onMounted(() => {
<a-typography-paragraph>
<a-textarea
:value="cacheKeyInfo.data.cacheValue"
:auto-size="{ minRows: 4, maxRows: 10 }"
:auto-size="{ minRows: 4, maxRows: 20 }"
:maxlength="4000"
:disabled="true"
/>

View File

@@ -291,7 +291,7 @@ onMounted(() => {
:size="tableState.size"
:row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ y: 450 }"
:scroll="{ y: 'calc(100vh - 480px)' }"
>
</a-table>
</a-card>