Skip to content

Commit

Permalink
fix: 修复编辑态form里面的crud样式问题 (#11722)
Browse files Browse the repository at this point in the history
  • Loading branch information
qkiroc authored Mar 6, 2025
1 parent fb2b04a commit 02db590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/amis-editor/src/plugin/CRUD.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,7 @@ export class CRUDPlugin extends BasePlugin {

{
type: 'container',
visibleOn: `this.headerToolbar && this.headerToolbar.some(item => item === 'load-more' || item.type === 'load-more') ||
visibleOn: `this.headerToolbar && this.headerToolbar.some(item => item === 'load-more' || item.type === 'load-more') ||
this.footerToolbar && this.footerToolbar.some(item => item === 'load-more' || item.type === 'load-more')`,
body: [
{
Expand Down Expand Up @@ -2427,7 +2427,7 @@ export class CRUDPlugin extends BasePlugin {
const {$$editor, style, ...rest} = props;
const renderer = $$editor.renderer;
return (
<div className="ae-CRUDEditor" style={style}>
<div className="ae-CRUDEditor" style={style} data-role="container">
{this.renderEditableComponents(props)}
<renderer.component $$editor={$$editor} {...rest} />
</div>
Expand Down

0 comments on commit 02db590

Please sign in to comment.