数组中没有唯一的key,可以定义变量,拼接字符串连接。 let i = 0; key={`infoItem-col-${i++}`} 转载于:https://www.cnblogs.com/jcxfighting/p/10512231.html