摘要: React 后端给的数组数据,前端需要map展示出来,但是后端没有给 唯一标识 id ,前端该怎么办呢? import React, { useState } from 'react'; const TestComp = () => { const list = [ { id: '1', name: 阅读全文
posted @ 2022-12-05 16:18 飞奔的程序员 阅读(275) 评论(0) 推荐(0)