mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 15:38:32 +00:00
修改对事件属性的扫描,支持 on|after
This commit is contained in:
parent
8fb7839e30
commit
bf2290afc6
@ -188,7 +188,7 @@ function propTypeToSetter(propType: PropType): SetterType {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
const EVENT_RE = /^on[A-Z][\w]*$/;
|
const EVENT_RE = /^on|after[A-Z][\w]*$/;
|
||||||
|
|
||||||
export default function(metadata: TransformedComponentMetadata): TransformedComponentMetadata {
|
export default function(metadata: TransformedComponentMetadata): TransformedComponentMetadata {
|
||||||
const { configure = {} } = metadata;
|
const { configure = {} } = metadata;
|
||||||
|
|||||||
@ -275,9 +275,9 @@ export default class SourceEditor extends Component<{
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div className="full-screen-container" onClick={this.fullScreen}>
|
{/* <div className="full-screen-container" onClick={this.fullScreen}>
|
||||||
<img src="https://gw.alicdn.com/tfs/TB1d7XqE1T2gK0jSZFvXXXnFXXa-200-200.png"></img>
|
<img src="https://gw.alicdn.com/tfs/TB1d7XqE1T2gK0jSZFvXXXnFXXa-200-200.png"></img>
|
||||||
</div>
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user