diff --git a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js index 8eb3d691c..ddf40dd91 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js +++ b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js @@ -362,11 +362,11 @@ class Repository extends Component { {commits===undefined?"":commits[0].time} :{commits===undefined?"":commits[0].title} - 提交记录 - + } diff --git a/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFile.js b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFile.js index eda2e5ff6..757f1222d 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFile.js +++ b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFile.js @@ -233,17 +233,17 @@ class RepositoryAddFile extends Component {

-
- +
+ {getFieldDecorator('path', { rules: [{ - required: true, message: '请输入提交信息', + required: true, message: '请输入文件名称或文件路径', },{ whitespace: true, message: '请勿输入空格' }], })( - this.setinput(e)}/> + this.setinput(e)}/> 提示:1.输入文件名可以创建一个新文件;2.输入新文件夹名/新文件名可以创建新文件夹和新文件。(如:step1/HelloWorld.java) )} diff --git a/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFileupload_file.js b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFileupload_file.js index eb0557472..59486230a 100644 --- a/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFileupload_file.js +++ b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryAddFileupload_file.js @@ -266,23 +266,14 @@ class RepositoryAddFileupload_files extends Component {
上传文件

- - {getFieldDecorator('message', { - rules: [{ - required: true, message: '请输入提交信息', - },{ - whitespace: true, message: '请勿输入空格' - }], - })( - - )} - +
+

+

当前目录:{this.state.filspath===""?"/":"/"+this.state.filspath} 选择文件目录
+

+
-

-

当前目录:{this.state.filspath===""?"/":"/"+this.state.filspath} 选择文件目录
-

{/*
*/} @@ -308,7 +299,18 @@ class RepositoryAddFileupload_files extends Component { {/* */} {/* )}*/} {/**/} + + {getFieldDecorator('message', { + rules: [{ + required: true, message: '请输入提交信息', + },{ + whitespace: true, message: '请勿输入空格' + }], + })( + + )} +