@@ -51,11 +51,11 @@ const [Modal, { getData, setState }] = useVbenModal({
const resColumns = await QueryApi.getColumns(data.baseData.id);
- const columns = [
+ const columns: Record<string, any>[] = [
{ align: 'center', title: '序号', type: 'seq', width: 50 },
];
- resColumns.forEach((column) => {
+ resColumns.forEach((column: Record<string, any>) => {
columns.push({
align: 'left',
field: column.alias,