@@ -253,6 +253,8 @@ function DIYTable(props: IProps) {
// 把每一行的数据提出来到一个对象里
const row = typeof rows[index] === 'string' ? JSON.parse(rows[index]) : rows[index];
const rowData: any = {};
+
+ if (!row) break;
if (displayOnly) {
row.forEach((col: any) => {
if (col) {