vue3 I encountered a responsive variable used in the watchEffect function, but the watch is not triggered when the value changes. What is the problem? #8076
Replies: 1 comment
-
是我功力太浅了,绕进去了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From a logical point of view, the above code does not cause recursive trigger watch execution.
This statement
data.newsDialog.currentNews
is the trigger point, when the click event will assign thedata.newsDialog.currentNews
property.Beta Was this translation helpful? Give feedback.
All reactions