From 1a86a75345ee1e03583b52f854e8a0bb60f2a9ba Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 22 Apr 2021 10:58:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=AF=84=E8=AE=BA=E8=80=85?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E8=B7=AF=E5=BE=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/Contributors.jsx | 27 +++++++++++++++++++++++++-- src/forge/comments/comments.js | 2 +- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/forge/Component/Contributors.jsx b/src/forge/Component/Contributors.jsx index d64e0d42a..7215c735a 100644 --- a/src/forge/Component/Contributors.jsx +++ b/src/forge/Component/Contributors.jsx @@ -1,9 +1,30 @@ -import React from 'react'; +import React, { useEffect, useState } from 'react'; import { AlignCenter , FlexAJ } from '../Component/layout'; import { Link } from 'react-router-dom'; +import { Dropdown , Spin } from 'antd'; import { getImageUrl } from 'educoder'; +import Axios from 'axios'; function Contributors({contributors,owner,projectsId}){ + + // function menuFunc(login){ + // let data = undefined; + // const url = `/users/${login}.json`; + // Axios.get(url).then(result=>{ + // if(result && result.data){ + // data = result.data; + // } + // }).catch(error=>{}) + + // if(data){ + // return( + //