Subscribe on changes!

[BUG]child component's props watch callback function was triggered,but parent component reactive watch callback function has not been triggered

avatar
Oct 30th 2023

Vue version

3.2.31

Link to minimal reproduction

I don't know how to reproduce this issue elsewhere.

Steps to reproduce

企业微信截图_295aaeaa-26ae-4f86-af20-a7c5fa92ae56 企业微信截图_805261ca-ab79-4dd2-9751-8abc56de6152 监听state.chapter.content变动的监听没有被触发.

What is expected?

Both watch callbacks should be triggered together.

What is actually happening?

Actually, only the watch callback of the child element was triggered. AND, I don't know how to reproduce this issue elsewhere.

System Info

No response

Any additional comments?

I has searched all the source code, and can't find anywhere that reassign the content variable. It's so weird about props.content change

avatar
Oct 30th 2023

We can't investigate without a reproduction, let alone from code screenshots