Each child in an array or iterator should have a unique "key"prop.

1276 단어 react

Check the render method of `MsContractListList`. See https://fb.me/react-warning-keys for more information.
    in div (created by MsContractListList)
    in MsContractListList (created by MsContractList)
    in div (created by MsContractList)
    in MsContractList (created by Connect(MsContractList))
    in Connect(MsContractList) (created by Route)
    in Route (created by MsLayout)
    in Switch (created by MsLayout)
    in div (created by Basic)
    in Basic (created by Adapter)
    in Adapter (created by MsLayout)
    in div (created by BasicLayout)
    in BasicLayout (created by Adapter)
    in Adapter (created by MsLayout)
    in div (created by BasicLayout)
    in BasicLayout (created by Adapter)
    in Adapter (created by MsLayout)
    in div (created by BasicLayout)

react Each child in an array or iterator should have a unique "key"prop.
순환할 때 이 오류를 보고합니다. 순환 부급 노드에 키를 추가하십시오. 그렇지 않으면 컨트롤러가 오류를 보고합니다. 아무런 영향은 없지만
 item.contracts.map((itemList, j: number) => {
       
        const one = (
          
); infoList.push(one) });

좋은 웹페이지 즐겨찾기