loading

摘要: 如上图所示,prop 定义的类型不起作用,在模板中显示对象的属性为 unknown。下面是 prop 的类型定义: type IWorks = Partial<{ id: string; text: string; content: string; desc: string; date: strin 阅读全文
posted @ 2023-04-14 18:54 Himmelbleu 阅读(189) 评论(0) 推荐(0) 编辑