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
data-index="operation"
width={110}
width={dataSource.value.some((record) => record.status !== enumTaskStatus.Exporting) ? 120 : 60}
fixed="right"
title="操作"
v-slots={{

View File

@ -113,7 +113,7 @@ export default {
selectedRowKeys.value = [];
getData();
};
expose({ init, reset });
return () => (
@ -243,7 +243,7 @@ export default {
))}
<TableColumn
data-index="operation"
width={180}
width={dataSource.value.some((record) => record.status === enumTaskStatus.Failed) ? 180 : 60}
fixed="right"
title="操作"
v-slots={{