diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b75942f5..7e9fc678 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,7 +1,11 @@
-
+
+
+
+
+
@@ -24,11 +28,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
@@ -37,12 +61,50 @@
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -51,8 +113,8 @@
-
-
+
+
@@ -60,89 +122,10 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- homepage_
- 翻转课堂
- Infos
- mygetHelmetapi
- tool
- console.log("c
- 公开
color: #
homepge
status
@@ -166,6 +149,13 @@
/commit
新建文件
prevSta
+ users/projects
+ 我的项目
+ testf
+ .params
+ Projects
+ te
+ rules: [],
任务
@@ -215,7 +205,6 @@
-
@@ -227,22 +216,22 @@
-
-
+
+
+
-
-
+
@@ -274,7 +263,7 @@
-
+
@@ -363,15 +352,16 @@
-
+
-
+
-
+
+
@@ -385,8 +375,8 @@
-
-
+
+
@@ -449,23 +439,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -576,13 +549,6 @@
-
-
-
-
-
-
-
@@ -721,22 +687,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -754,28 +704,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -806,13 +734,6 @@
-
-
-
-
-
-
-
@@ -857,26 +778,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -898,35 +799,123 @@
-
+
-
-
-
-
-
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/forge/Newfile/UserSubmitComponent.js b/src/forge/Newfile/UserSubmitComponent.js
index a706950e..fa3500fc 100644
--- a/src/forge/Newfile/UserSubmitComponent.js
+++ b/src/forge/Newfile/UserSubmitComponent.js
@@ -57,15 +57,27 @@ class UserSubmitComponent extends Component{
const changeSubmitBranch = ()=>{
if(submitType==="1"){
return(
-
- {getFieldDecorator('branchname', {
- rules: [{
- required: true, message: '请输入分支名称'
- }],
- })(
-
- )}
-
+
+
+ {getFieldDecorator('desc', {
+ rules: [{
+ required:true,message:'请输入合并请求的描述内容'
+ }],
+ })(
+
+
+ {getFieldDecorator('branchname', {
+ rules: [{
+ required: true, message: '请输入分支名称'
+ }],
+ })(
+
+ )}
+
+
+
)
}
}
@@ -81,15 +93,7 @@ class UserSubmitComponent extends Component{
)}
-
- {getFieldDecorator('desc', {
- rules: [{
- required:true,message:'请输入合并请求的描述内容'
- }],
- })(
-
+
直接提交至{branch}分支
为此提交创建一个新的分支并发起合并请求
diff --git a/src/modules/user/usersInfo/Projects.js b/src/modules/user/usersInfo/Projects.js
index b419d40e..5f52d79f 100644
--- a/src/modules/user/usersInfo/Projects.js
+++ b/src/modules/user/usersInfo/Projects.js
@@ -33,7 +33,7 @@ class Projects extends Component{
}
getCourses = (category, status, page, sort_by, sort_direction) => {
- let url=`/users/projects.json`;
+ let url=`/users/${this.props.match.params.username}/projects.json`;
axios.get((url),{params:{
category,
status,