style: 网元菜单表格调整

This commit is contained in:
TsMask
2024-04-17 15:05:17 +08:00
parent 96aab47003
commit eb902594b8
4 changed files with 11 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ type TabeStateType = {
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
seached: true,
seached: false,
data: [],
selectedRowKeys: [],
});
@@ -502,7 +502,7 @@ onMounted(() => {
:data-source="tableState.data"
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: tableColumns.length * 120, y: 'calc(100vh - 480px)' }"
:scroll="{ x: tableColumns.length * 150, y: 'calc(100vh - 480px)' }"
:row-selection="{
type: 'checkbox',
columnWidth: '48px',
@@ -578,7 +578,7 @@ onMounted(() => {
</template>
<template #expandedRowRender="{ record }">
<a-row :gutter="16">
<a-col :offset="2" :lg="8" :md="8" :xs="24">
<a-col :offset="2" :lg="8" :md="8" :xs="8">
<a-divider orientation="left">
{{ t('views.ne.neInfo.info') }}
</a-divider>
@@ -607,7 +607,7 @@ onMounted(() => {
<span>{{ record.serverState.expire }}</span>
</div>
</a-col>
<a-col :offset="2" :lg="8" :md="8" :xs="24">
<a-col :offset="2" :lg="8" :md="8" :xs="8">
<a-divider orientation="left">
{{ t('views.ne.neInfo.resourceInfo') }}
</a-divider>