From 2f6597355c3f86d6a222112cfc084a40e395199a Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 23 Apr 2021 14:50:52 +0800 Subject: [PATCH] =?UTF-8?q?+=E4=B8=8A=20=E5=85=B3=E6=B3=A8=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Component/Contributors.jsx | 3 +-- src/forge/Main/CoderDepot.jsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/forge/Component/Contributors.jsx b/src/forge/Component/Contributors.jsx index 3c3c2a42..1e26354a 100644 --- a/src/forge/Component/Contributors.jsx +++ b/src/forge/Component/Contributors.jsx @@ -7,7 +7,7 @@ import './Component.scss'; import { getUser } from '../GetData/getData'; import axios from 'axios'; -function Contributors({contributors,owner,projectsId,id,showNotification}){ +function Contributors({contributors,owner,projectsId}){ const [ menuList ,setMenuList ]= useState([]); const [ list , setList ]= useState(undefined); const [ total , setTotal ]= useState(0); @@ -104,7 +104,6 @@ function Contributors({contributors,owner,projectsId,id,showNotification}){ a[0].is_watch = flag; } setMenusFunc(a[0]); - showNotification(result.data.message); } }) .catch(error => { diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index 217c97bd..5a993a45 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -425,7 +425,7 @@ function CoderDepot(props){ {/* 贡献者 */} { projectDetail && projectDetail.contributors && - + } {/* 语言 */} { projectDetail && projectDetail.languages &&