perf: 宽度调整
This commit is contained in:
@ -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={{
|
||||
|
||||
@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user