mirror of https://github.com/vuejs/core.git
[autofix.ci] apply automated fixes
This commit is contained in:
parent
cb2bdc2650
commit
ef2229cdb3
|
@ -476,7 +476,7 @@ describe('vnode', () => {
|
|||
let props4: Data = { onNaming: 0 }
|
||||
mergeProps(props1, props4)
|
||||
expect(
|
||||
`Prop with prefix 'on' is considered an event handler, avoid such naming if it is not. prop: onNaming.`
|
||||
`Prop with prefix 'on' is considered an event handler, avoid such naming if it is not. prop: onNaming.`,
|
||||
).toHaveBeenWarned()
|
||||
})
|
||||
|
||||
|
|
|
@ -890,7 +890,7 @@ export function mergeProps(...args: (Data & VNodeProps)[]): Data {
|
|||
)
|
||||
) {
|
||||
warn(
|
||||
`Prop with prefix 'on' is considered an event handler, avoid such naming if it is not. prop: ${key}.`
|
||||
`Prop with prefix 'on' is considered an event handler, avoid such naming if it is not. prop: ${key}.`,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue