Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The subcomponent data is not updated #12636

Closed
YaminZheng opened this issue Jan 2, 2025 · 1 comment
Closed

The subcomponent data is not updated #12636

YaminZheng opened this issue Jan 2, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists 🐞 bug Something isn't working scope: suspense

Comments

@YaminZheng
Copy link

YaminZheng commented Jan 2, 2025

Vue version

^3.5

Link to minimal reproduction

https://play.vuejs.org/#eNqdVV1v2zoM/SusX5oCjr2t9+ICuU6wrRuwDftCV+wlzoNmM442WfIkOWlQ5L+PkiI3/Vgw7KGNTR6Rh4ekfJO86Lps3WMySQpTad5ZMGj7blZK3nZKW3jVt+32UvUW9VeOG1hq1cJplt+zuyCnpSzyEIXO04vFthPMIr0BFKunszcohALKeVLk9OrN3exC8OoH2BXCPue33lolgckatqqHDReCaKGHMK3ZFqoVkw3WYBXMn6bP0vNFBlcrlNAoZ3PAN6rFyAyWXGAKNQq0IUyl2halTaH6XfKGcZk+xoFZD6+ZZbBiBqSykU+RO+WoqJYO+yd6/tKbDqUJKnjLfU3zCM3vYIt8H6bIByWTNLGmUnLJm+y7UZIad+OwZUIVdVSl/tRZrqQpkwl4j/Mxkn3zztus7jGN9mqF1Y9H7N/NtbOVyWeNBvUay2TwWaYbtMH9+stHvKbnwdmquheEPuK8RKNE7zgG2Mte1kT7AOfZvvXd4LK5Mq+vLWkSi3JEHXLn8WVC7b04Uvot3fPsH3+ulDtS8ZH5vb8EIKipUwpBEW8X4gY0LmG3X4Qw9ntXHLlhSQ5nkGClpM4Zir5SG5i6OKMlEwbPnItSXvEWidFodAbTWSjBQbM1EzTD033puxT+ffKEzhxbtoHKesyXVIOLUyZ+0g6mqZSkxCHJv5DAd6BM/h+8Fysu6ujLcv/qYntMlEBv2DeBoclYv+dkCoLMF0A7xeR2vjgjfEBXLsYl5fSYgryzkfNGv5IxEiFGgqJN9iEGIR8mHGR1eAq2o79jkp6Mx/Aq3iDcxCvE3Tfxcuq0oiQtjMfhiK89TCLxJh1jIWUSrOsxLQUK8jzkFzGToCvWhLotdPBSnZ+16sh5cjf6Y70emvGnja5xySW6BMbdn+7lg2N8bwHohKRNWrIKwYOD6JH5hJpy2BF6IrHB/Tq0d7kO3HaUlKQg08P8hf9PjY8YfwNHiGflJmO+mI3cgP7suXaZ3dLAzq/YHw+Lz55F9qN5lmUOt6AonmOew4sN46Qd7Q4Ng2z8V0fzpkENp8xsZRV0PQXX4FIyD//v6ITdkNyupB3loOHZf4ie+y/Und6P6JsHz1I4J0LJLNAs8oB/0PTdL3s9tTU=

vuejs/router#2429

Steps to reproduce

  1. Click the import button and you will see the array changed to [1,2,3]
  2. To HomeView.vue file, del comment
  3. Click import button again
  4. Data has not changed

What is expected?

Data change

What is actually happening?

No change

System Info

No response

Any additional comments?

No response

@edison1105
Copy link
Member

edison1105 commented Jan 3, 2025

duplicate of #11617
a workaround

+	<div>
	  <Child
	    ref="childRef"
	    v-model="rwableImportedList"
	    :imported="onImported"
	    :anyProp="!childRef"
	  />
+  </div>

will be fixed via #11619
see Playground with PR#11619

@edison1105 edison1105 added the duplicate This issue or pull request already exists label Jan 3, 2025
@edison1105 edison1105 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists 🐞 bug Something isn't working scope: suspense
Projects
None yet
Development

No branches or pull requests

2 participants