Skip to content

fix: 使用useRef和两个useEffect解决闭包问题#10

Open
JayceV552 wants to merge 2 commits intomasterfrom
dev-LiJunCai3
Open

fix: 使用useRef和两个useEffect解决闭包问题#10
JayceV552 wants to merge 2 commits intomasterfrom
dev-LiJunCai3

Conversation

@JayceV552
Copy link

在第二个useEffect将changData赋值给Ref.current,Ref来保存数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant