如何将产品数据从一个组件传递到VUE中的另一个组件?
我有一个带有产品列表的组件,当您通过特定产品通过,您将重定向到该产品的另一个编辑组件。如何将有关产品的信息从一个组件传输到另一个组件?谢谢
I have a component with a list of products, when you click on a specific product via , you are redirected to another editing component for this product. How to transfer information about the selected product from one component to another? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于我由于低回购而无法发表评论,因此我建议您使用
state
https://vuejs.s.org/guide/scaling/scaling-up/state-management。 html
Since I can't comment due to low repo, I am going to suggest you to use
state
https://vuejs.org/guide/scaling-up/state-management.html