Skip to content

Commit

Permalink
feat(x-android): vOn 修饰符支持 prevent
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyuWang committed Jan 20, 2025
1 parent c9c4fdd commit 0977bb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const resolveModifiers = (
onModifierWarn(modifier, context, loc)
} else {
if (isNonKeyModifier(modifier)) {
if (modifier !== 'stop') {
if (modifier !== 'stop' && modifier !== 'prevent') {
onModifierWarn(modifier, context, loc)
} else {
nonKeyModifiers.push(modifier)
Expand Down

0 comments on commit 0977bb3

Please sign in to comment.