如何在ReactJS Complex中使用读取此数组

时间:2018-11-07 07:45:55

标签: arrays reactjs loops

如何使用在ReactJS中读取此数组 ->

0:{代码:Array(4),参数:Array(3),defaultMessage:“格式不正确的电子邮件地址”,objectName:“ userVO”,字段:“ email”,...} Example IMage

1 个答案:

答案 0 :(得分:0)

不确定是否是您要的,但是在ES6中,您可以使用// convert unsafePtr to a pointer of the type *[1 << 30]uint8 arrayPtr := (*[1 << 30]uint8)(unsafePtr) 函数遍历数组并返回其值:

.map