fix(v-model): v-model listeners should not fallthrough to plain element root
fix #1643
This commit is contained in:
@@ -41,6 +41,8 @@ export const NO = () => false
|
||||
const onRE = /^on[^a-z]/
|
||||
export const isOn = (key: string) => onRE.test(key)
|
||||
|
||||
export const isModelListener = (key: string) => key.startsWith('onUpdate:')
|
||||
|
||||
export const extend = Object.assign
|
||||
|
||||
export const remove = <T>(arr: T[], el: T) => {
|
||||
|
||||
Reference in New Issue
Block a user