Skip to content

can not not get lastest value when nest slot #2618

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

Closed
tangjinzhou opened this issue Nov 16, 2020 · 3 comments
Closed

can not not get lastest value when nest slot #2618

tangjinzhou opened this issue Nov 16, 2020 · 3 comments

Comments

@tangjinzhou
Copy link
Contributor

Version

3.0.2

Reproduction link

https://codesandbox.io/s/elegant-moore-rfyck?file=/src/App.vue

Steps to reproduce

1、click change test button
2、click click me button

What is expected?

log record can change

What is actually happening?

record not change


if use record like:
<button @click="handleClick(record)">click me {{record}}</button>
we can get latest record value.

@HcySunYang
Copy link
Member

I think it is the same as this issue: #2564

@posva posva closed this as completed Nov 17, 2020
@tangjinzhou
Copy link
Contributor Author

@posva @HcySunYang 3.0.4 also have this problem

@HcySunYang
Copy link
Member

it's solved, see: https://codesandbox.io/s/red-shape-bc720

@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants