fix: lint
This commit is contained in:
@@ -84,7 +84,9 @@ const [Grid, gridApi] = useVbenVxeGrid({
|
||||
rowConfig: {
|
||||
keyField: 'id',
|
||||
isHover: true,
|
||||
height: type.value === UploadType.Image ? 220 : 'auto',
|
||||
},
|
||||
cellConfig: {
|
||||
height: type.value === UploadType.Image ? 220 : undefined,
|
||||
},
|
||||
toolbarConfig: {
|
||||
refresh: true,
|
||||
@@ -101,8 +103,10 @@ async function onTabChange() {
|
||||
rowConfig: {
|
||||
keyField: 'id',
|
||||
isHover: true,
|
||||
height: type.value === UploadType.Image ? 220 : 'auto',
|
||||
},
|
||||
cellConfig: {
|
||||
height: type.value === UploadType.Image ? 220 : undefined,
|
||||
}
|
||||
});
|
||||
await gridApi.reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user