diff --git a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js
index 321a8ce78..1379feaf9 100644
--- a/public/react/src/modules/tpm/shixunchild/Repository/Repository.js
+++ b/public/react/src/modules/tpm/shixunchild/Repository/Repository.js
@@ -194,41 +194,14 @@ class Repository extends Component {
}
- Git使用指南
+ { trees === undefined || trees === null ||trees.length===0?"":Git使用指南}
{/* 当前分支的文件 */}
);
}
}
-/*
- 提交记录
-
- { RepositoryList===undefined?"":RepositoryList.commits.map((item,key)=>{
- // {"email":"李暾","title":"2\n","id":"80cb6fc55a14bdd64a9c99913f416966238ed3de","time":"49年前"}
- return(
-
-
{item.email}
-
{item.title}
-
{item.id}
-
{item.time}
-
- )
- }) }
-
-
-
-
-
-
-
- 1-1.py
-
-
-
-
-*/
export default Repository;
diff --git a/public/react/src/modules/tpm/shixunchild/Repository/RepositoryNoneData.js b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryNoneData.js
new file mode 100644
index 000000000..612c28f39
--- /dev/null
+++ b/public/react/src/modules/tpm/shixunchild/Repository/RepositoryNoneData.js
@@ -0,0 +1,31 @@
+import React, { Component } from 'react';
+import { getImageUrl , getUrl } from 'educoder';
+
+class NoneData extends Component{
+ constructor(props) {
+ super(props)
+ }
+ render(){
+ const { style } = this.props;
+ return(
+
+
+
+
暂时还没有相关数据哦!
+
+ )
+ }
+}
+export default NoneData;
\ No newline at end of file