编译报错
1***@qq.com
- 发布:2024-01-23 17:12
- 更新:2024-01-23 17:39
- 阅读:171
喜欢技术的前端 - QQ---445849201
加上 as Self[]
type Self = {
work : string
}
list:[
{
work:'zhangsan1'
},
{
work:'zhangsan2'
},
{
work:'zhangsan3'
}
] as Self[],
v***@163.com
请问我的list是list:{} as as UTSJSONObject ,使用for循环就会报错,(item,index) in list
2024-04-22 16:43