diff --git a/.gitignore b/.gitignore index 881a5eea..9a82a113 100644 --- a/.gitignore +++ b/.gitignore @@ -85,3 +85,4 @@ typings/ .dynamodb/ .DS_Store +.idea/* diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..05615a16 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,626 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + versions + 缺陷 + contents/file + 新建翻转课堂 + nHeader + 点赞 + fork + .push( + QuillForEditor + setContents + isedit + Educoder + title + textcount + forks + commentCtx + 上传文件 + subFileType + .ide + .idea + + + $PROJECT_DIR$/src/forge + $PROJECT_DIR$ + $PROJECT_DIR$/src + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1584692398144 + + + 1584692398144 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/forge/Newfile/UserSubmitComponent.js b/src/forge/Newfile/UserSubmitComponent.js index fe138f3f..e286b00e 100644 --- a/src/forge/Newfile/UserSubmitComponent.js +++ b/src/forge/Newfile/UserSubmitComponent.js @@ -31,7 +31,7 @@ class UserSubmitComponent extends Component{ const url = `/repositories/${projectsId}/create_file.json`; axios.post(url,{ filepath:path, - branch:submitType==="0" ? branch : undefined, + branch:branch, new_branch:submitType==="1" ? values.branchname:undefined, content, message:values.desc @@ -84,7 +84,7 @@ class UserSubmitComponent extends Component{ {getFieldDecorator('desc', { rules: [], })( - + )} diff --git a/src/forge/Settings/Collaborator.js b/src/forge/Settings/Collaborator.js index 0691645c..910a9a61 100644 --- a/src/forge/Settings/Collaborator.js +++ b/src/forge/Settings/Collaborator.js @@ -9,10 +9,10 @@ const MENU_LIST = [{ name:'管理员' },{ id:"Developer", - name:'开发人员' + name:'可写权限' },{ id:"Reporter", - name:'报告人员' + name:'可读权限' }]; const LIMIT = 15; class Collaborator extends Component{ @@ -207,7 +207,7 @@ class Collaborator extends Component{ {operation && operation[0].name} } - + { @@ -219,7 +219,7 @@ class Collaborator extends Component{ ) }) } - + @@ -245,4 +245,4 @@ class Collaborator extends Component{ ) } } -export default Collaborator; \ No newline at end of file +export default Collaborator; diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js index 9c3ff020..ddb18ef9 100644 --- a/src/forge/Settings/Setting.js +++ b/src/forge/Settings/Setting.js @@ -199,7 +199,7 @@ class Setting extends Component{ 删除本仓库 - 删除仓库是永久性的, 无法撤消 + 删除仓库是永久性的, 无法撤消,且删除后,与仓库关联的项目/工单/合并请求/版本发布等,均会被删除 删除本仓库 diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index dda9fed7..b36b4a15 100644 --- a/src/modules/login/LoginDialog.js +++ b/src/modules/login/LoginDialog.js @@ -469,7 +469,7 @@ class LoginDialog extends Component { autologin:isGoingValue } ).then((response) => { - debugger; + // debugger; if(response===undefined){ return } @@ -782,4 +782,3 @@ class LoginDialog extends Component { } export default LoginDialog ; -
删除本仓库
删除仓库是永久性的, 无法撤消
删除仓库是永久性的, 无法撤消,且删除后,与仓库关联的项目/工单/合并请求/版本发布等,均会被删除