-
Notifications
You must be signed in to change notification settings - Fork 97
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
点击按钮新增一条数据的时候,要怎么刷新列表呢 #12
Comments
能描述的详细一点吗? |
就是如果我有个回复的列表,添加了一条回复的数据,要怎么刷新这个列表显示最新的那条回复 |
就直接append |
理解了,多谢解答 |
@fa-ge 好像不行,因为提交的回复到后端,后端返回数据给我,这时候要怎么做刷新呢。如果没有刷新的方法,重新实例化一次就会出错的 |
不要重新实例化啊。后端返回数据给你,你就append到列表中啊。或者有没有具体的代码,并附上说明 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: