From 6820fed5b5005aed82769eef3bf0fe0c2613b0dd Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Tue, 30 Nov 2021 18:34:41 +0800 Subject: [PATCH] issue --- src/forge/Activity/Activity.js | 12 +++++++----- src/forge/Activity/activity.css | 4 ++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/forge/Activity/Activity.js b/src/forge/Activity/Activity.js index 4a7a1d34..7b90b830 100644 --- a/src/forge/Activity/Activity.js +++ b/src/forge/Activity/Activity.js @@ -124,7 +124,9 @@ class Activity extends Component{ ) render(){ - const { time , data , page , project_trends , isSpin , pr_count , new_pr_count , close_issues_count , open_issues_count , pr_all_count ,issues_count } = this.state; + const { time , data , page , project_trends , isSpin , + pr_count , new_pr_count , close_issues_count , open_issues_count , pr_all_count ,issues_count, + type,status } = this.state; let name = time ? ARRAY.filter(item=>item.id === parseInt(time)) :[{name:"全部"}]; const first_per = pr_all_count > 0 ? `${parseFloat(pr_count/pr_all_count).toFixed(2)*100}%` :"50%"; @@ -156,19 +158,19 @@ class Activity extends Component{