Skip to content

Commit

Permalink
chore: inputTable path 转换异常不报错
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Dec 5, 2024
1 parent 7166390 commit 69b2804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amis/src/renderers/Form/InputTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,7 @@ export default class FormTable<
const firstRow = filteredItems[list[0]];
list[0] = items.findIndex(item => item === firstRow);
if (list[0] === -1) {
throw new Error('row not found');
return path;
}
return list.join('.');
}
Expand Down

0 comments on commit 69b2804

Please sign in to comment.