Skip to content

Commit

Permalink
fix: 修复 #10126 引发的模型页面编辑器不可拖拽问题
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop authored and CheshireJCat committed Oct 11, 2024
1 parent 72ba98a commit 567e1ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/amis/src/renderers/CRUD.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2714,6 +2714,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
'body',
{
...rest,
id,
// 通用事件 例如cus-event 如果直接透传给table 则会被触发2次
// 因此只将下层组件table、cards中自定义事件透传下去 否则通过crud配置了也不会执行
onEvent: this.filterOnEvent(onEvent),
Expand Down

0 comments on commit 567e1ea

Please sign in to comment.