perf: 宽度调整

This commit is contained in:
rd
2025-07-21 16:27:47 +08:00
parent 984d4e3a7b
commit 704544e969
2 changed files with 3 additions and 3 deletions

View File

@ -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={{

View File

@ -113,7 +113,7 @@ export default {
selectedRowKeys.value = []; selectedRowKeys.value = [];
getData(); getData();
}; };
expose({ init, reset }); expose({ init, reset });
return () => ( return () => (
@ -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={{