nuxt3组件降低后保持输入值
我有一个应用程序,我将信息传递到要发送到数据库的组件中...发送后,我使用v-if隐藏此组件,但是当再次打开此组件时,当我们有内存泄漏时,即使我摧毁了此组件并再次渲染它!我正在使用nuxt3,并且该代码在NUXT2上完美效果
I have an application where I pass information in components to be sent to the database... after sending I use v-if to hide this component, but when opening this component again the values passed in the previous inputs appear again in this new component, as we having a memory leak, even if I destroy this component and render it again! I'm using nuxt3 and this same code worked perfectly on nuxt2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论