From 50627aba6be4efdf0e27a16cface4c59170bd24d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Tue, 28 Sep 2021 15:50:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C=E7=BA=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=94=B9=E7=89=88-=E6=B5=8B=E8=AF=95-?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=8C=E5=8F=91=E8=A1=8C=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/forge/Main/CoderRootCommit.js | 12 ++++-------- src/forge/Main/img/tree-black.png | Bin 0 -> 631 bytes src/forge/Main/version/version.js | 9 ++++++--- src/forge/Merge/Files.jsx | 10 +++++----- 5 files changed, 16 insertions(+), 17 deletions(-) create mode 100644 src/forge/Main/img/tree-black.png diff --git a/package.json b/package.json index 736bba88c..04142cb4d 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "scripts": { "start": "node --max_old_space_size=15360 scripts/start.js", "build": "cross-env NODE_ENV=production node --max_old_space_size=15360 scripts/build.js", - "test-build": "NODE_ENV=testBuild node --max_old_space_size=15360 scripts/build.js", + "test-build": "cross-env NODE_ENV=testBuild node --max_old_space_size=15360 scripts/build.js", "pre-build": "NODE_ENV=preBuild node --max_old_space_size=15360 scripts/build.js", "gen_stats": "NODE_ENV=production webpack --profile --config=./config/webpack.config.prod.js --json > stats.json", "ana": "webpack-bundle-analyzer ./stats.json", diff --git a/src/forge/Main/CoderRootCommit.js b/src/forge/Main/CoderRootCommit.js index 183523888..7b8eaa23a 100644 --- a/src/forge/Main/CoderRootCommit.js +++ b/src/forge/Main/CoderRootCommit.js @@ -29,12 +29,12 @@ function timeFormat(seconds) { //代码库--提交页面 class CoderRootCommit extends Component{ constructor(props){ - super(props) + super(props); this.state={ commitDatas:undefined, dataCount:undefined, limit:10, - page:1, + page: 1, isSpining:false, branchList:undefined } @@ -43,12 +43,8 @@ class CoderRootCommit extends Component{ componentDidMount=()=>{ this.Init(); this.getBranchs(); - // goBack - // addEventListener } - // componentde - // 获取分支列表 getBranchs=()=>{ const { projectsId , owner } = this.props.match.params; @@ -157,7 +153,7 @@ class CoderRootCommit extends Component{
+ 附件: */} + {item.attachments && item.attachments.map((item)=>{ + return({item.title}) + })} + {/*
} */}