动态组件<component>不断重新onMounted #10783
Niefee
started this conversation in
General Discussions
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
一个外部的变量name,重新赋值,会导致returnText 函数里的onMounted重新执行,正常不依赖,应该不影响的,但是赋值就是会重新执行。
Beta Was this translation helpful? Give feedback.
All reactions