We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
1 parent b2b6b6f commit 8eceabdCopy full SHA for 8eceabd
packages/runtime-core/src/componentProps.ts
@@ -225,6 +225,10 @@ export function updateProps(
225
const propsToUpdate = instance.vnode.dynamicProps!
226
for (let i = 0; i < propsToUpdate.length; i++) {
227
let key = propsToUpdate[i]
228
+ // skip if the prop key is a declared emit event listener
229
+ if (isEmitListener(instance.emitsOptions, key)){
230
+ continue
231
+ }
232
// PROPS flag guarantees rawProps to be non-null
233
const value = rawProps![key]
234
if (options) {
0 commit comments