如何将接口分配到反应性()对象VUEJS 3
如何将接口分配到反应式()对象VUEJS 3
接口
export interface ProdutoInterface {
codigo: number
nome: string
}
组件
const dadosProduto = reactive()
我无法工作。任何人都知道如何帮助我。
非常感谢您的关注
How to assign an interface to a reactive() object Vuejs 3
Interface
export interface ProdutoInterface {
codigo: number
nome: string
}
Component
const dadosProduto = reactive()
I can't get it to work. Would anyone know how to help me.
thank you very much for your attention
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
添加这样的
。
界面
您可以
You can add interface like this way
1. need to initialize object insize
reactive
or
2. set
undefined
forreactive