v-model自定义组件,在组件props中的modalValue是数组时,组件进行修改数组并emit,这时emit的值是浅拷贝的数组还是原数组呢? #9376
xhc-code
started this conversation in
General Discussions
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
-
v-model自定义组件,在组件props中的modalValue是数组时,组件进行修改数组并emit,这时emit的值是浅拷贝的数组还是原数组呢?
Beta Was this translation helpful? Give feedback.
All reactions