[英]How to pass data through a table row on clicking it to other component?
Im creating a email inbox component for a system, and the list of emails are disposed as a table, so on click it calls to other component.我为系统创建了一个电子邮件收件箱组件,并且电子邮件列表作为表格处理,因此单击它会调用其他组件。 I need to show the infos of the email of the selected row on other component, since it dont render on each other, im just calling using router-link.我需要在其他组件上显示所选行的电子邮件信息,因为它不会相互呈现,我只是使用路由器链接调用。 How is the basic idea to do this?这样做的基本思想是什么? I dont need the final answer, just what i need to do or use to make this kind of task.我不需要最终的答案,只需要我需要做什么或使用什么来完成这种任务。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.