diff --git a/src/views/configManage/backupManage/index.vue b/src/views/configManage/backupManage/index.vue index 859e465b..7b6eb734 100644 --- a/src/views/configManage/backupManage/index.vue +++ b/src/views/configManage/backupManage/index.vue @@ -69,21 +69,25 @@ let tableColumns: ColumnsType = [ title: t('common.rowId'), dataIndex: 'id', align: 'center', + width: 1, }, { title: t('views.configManage.backupManage.neType'), dataIndex: 'neType', align: 'center', + width: 2, }, { title: t('views.configManage.backupManage.neID'), dataIndex: 'neId', align: 'center', + width: 2, }, { title: t('views.configManage.backupManage.fileName'), dataIndex: 'fileName', align: 'center', + width: 3, }, { title: t('views.configManage.backupManage.createAt'), @@ -93,11 +97,14 @@ let tableColumns: ColumnsType = [ if (!opt.value) return ''; return parseDateToStr(opt.value); }, + width: 3, }, { title: t('common.operate'), key: 'id', align: 'center', + fixed: 'right', + width: 2, }, ]; @@ -395,15 +402,15 @@ onMounted(() => { :selected-keys="[tableState.size as string]" @click="fnTableSize" > - {{ - t('common.size.default') - }} - {{ - t('common.size.middle') - }} - {{ - t('common.size.small') - }} + + {{ t('common.size.default') }} + + + {{ t('common.size.middle') }} + + + {{ t('common.size.small') }} + @@ -420,7 +427,7 @@ onMounted(() => { :data-source="tableState.data" :size="tableState.size" :pagination="tablePagination" - :scroll="{ x: true }" + :scroll="{ x: 1200, y: 400 }" >