|
|
|
@ -15,6 +15,7 @@ import RepositoryCodeEditor from './shixunchild/Repository/RepositoryCodeEditor'
|
|
|
|
|
class TPMRepositoryComponent extends Component {
|
|
|
|
|
constructor(props) {
|
|
|
|
|
super(props)
|
|
|
|
|
this.nameTypeMap = {}
|
|
|
|
|
let pathArray = []
|
|
|
|
|
var splitArray = window.location.pathname.split('shixun_show/');
|
|
|
|
|
if (splitArray[1]) {
|
|
|
|
@ -38,7 +39,7 @@ class TPMRepositoryComponent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount = () => {
|
|
|
|
|
this.nameTypeMap = {}
|
|
|
|
|
|
|
|
|
|
this.fetchRepo()
|
|
|
|
|
}
|
|
|
|
|
setContentWidth100 = (flag) => {
|
|
|
|
|