mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-12-21 07:49:08 +08:00
Fix: :scroll="{ x: 'max-content' }"
This commit is contained in:
parent
0347eb1392
commit
98f6b93225
@ -222,6 +222,9 @@ const handleChangeNode = async (item: NodeStatus) => {
|
||||
:columns="columns"
|
||||
:pagination="false"
|
||||
size="small"
|
||||
:scroll="{
|
||||
x: 'max-content'
|
||||
}"
|
||||
>
|
||||
<template #bodyCell="{ column, record }">
|
||||
<template v-if="column.key === 'operation'">
|
||||
|
@ -68,7 +68,9 @@ const dataSource = computed(() => {
|
||||
<template #title>{{ card.title }}</template>
|
||||
<template #body>
|
||||
<a-table
|
||||
:scroll="{ x: 1360 }"
|
||||
:scroll="{
|
||||
x: 'max-content'
|
||||
}"
|
||||
:columns="columns"
|
||||
:data-source="dataSource"
|
||||
:pagination="false"
|
||||
|
@ -225,7 +225,9 @@ onMounted(async () => {
|
||||
</a-typography-text>
|
||||
</a-typography-paragraph>
|
||||
<a-table
|
||||
:scroll="{ x: 960 }"
|
||||
:scroll="{
|
||||
x: 'max-content'
|
||||
}"
|
||||
:data-source="imageDataSource"
|
||||
:columns="imageColumns"
|
||||
:pagination="{
|
||||
@ -268,7 +270,9 @@ onMounted(async () => {
|
||||
</a-typography-text>
|
||||
</a-typography-paragraph>
|
||||
<a-table
|
||||
:scroll="{ x: 960 }"
|
||||
:scroll="{
|
||||
x: 'max-content'
|
||||
}"
|
||||
:data-source="containerDataSource"
|
||||
:columns="containerColumns"
|
||||
:pagination="{
|
||||
|
Loading…
Reference in New Issue
Block a user