perf: 宽度调整
This commit is contained in:
@ -329,7 +329,7 @@ export default {
|
|||||||
))}
|
))}
|
||||||
<TableColumn
|
<TableColumn
|
||||||
data-index="operation"
|
data-index="operation"
|
||||||
width={110}
|
width={dataSource.value.some((record) => record.status !== enumTaskStatus.Exporting) ? 120 : 60}
|
||||||
fixed="right"
|
fixed="right"
|
||||||
title="操作"
|
title="操作"
|
||||||
v-slots={{
|
v-slots={{
|
||||||
|
|||||||
@ -243,7 +243,7 @@ export default {
|
|||||||
))}
|
))}
|
||||||
<TableColumn
|
<TableColumn
|
||||||
data-index="operation"
|
data-index="operation"
|
||||||
width={180}
|
width={dataSource.value.some((record) => record.status === enumTaskStatus.Failed) ? 180 : 60}
|
||||||
fixed="right"
|
fixed="right"
|
||||||
title="操作"
|
title="操作"
|
||||||
v-slots={{
|
v-slots={{
|
||||||
|
|||||||
Reference in New Issue
Block a user