mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
事件扫描新增before关键词
This commit is contained in:
parent
dced647917
commit
bcedec6f21
@ -188,7 +188,7 @@ function propTypeToSetter(propType: PropType): SetterType {
|
||||
};
|
||||
}
|
||||
|
||||
const EVENT_RE = /^on|after[A-Z][\w]*$/;
|
||||
const EVENT_RE = /^on|after|before[A-Z][\w]*$/;
|
||||
|
||||
export default function(metadata: TransformedComponentMetadata): TransformedComponentMetadata {
|
||||
const { configure = {} } = metadata;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user