Skip to content

Commit

Permalink
fix(config): incorrect event prop regexp
Browse files Browse the repository at this point in the history
fix #139
  • Loading branch information
qmhc committed Sep 9, 2022
1 parent 4546389 commit 849ac5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/config/src/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type PropsConfigOptions<T> = {
}

export const PROVIDED_PROPS = '__vxp-provided-props'
const eventPropRE = /$on[A-Z]/
const eventPropRE = /^on[A-Z]/

export function configProps(props: Partial<PropsOptions> | Ref<Partial<PropsOptions>>, app?: App) {
if (app) {
Expand Down

0 comments on commit 849ac5b

Please sign in to comment.