当watch传入一个返回ref的函数为source时,副作用不会被正常触发
Vue version
3.2.47
Link to minimal reproduction
Steps to reproduce
- 打开链接
- 点击button2时result时不更新
- 点击button1时result会更新
What is expected?
- ref2为true时 点击button2时result更新
- ref2为false时 点击button2时result不更新
What is actually happening?
- ref2为true时 点击button2时result不更新
- ref2为false时 点击button2时result不更新
System Info
No response
Any additional comments?
No response