diff --git a/src/forge/Main/Index.js b/src/forge/Main/Index.js index 986b9a84b..a08c3d3bc 100644 --- a/src/forge/Main/Index.js +++ b/src/forge/Main/Index.js @@ -1,5 +1,4 @@ import React, { Component } from 'react'; -import { Link } from 'react-router-dom'; import { Menu, Input , Spin, Pagination , Popover , Select } from 'antd'; import Slider from "react-slick"; import { getImageUrl } from 'educoder'; @@ -13,6 +12,8 @@ import axios from 'axios'; import img_new from '../Images/new.png'; import img_array from '../Images/array.png'; import banner from '../Images/banner_list.jpg'; +import CheckProfile from '../Component/ProfileModal/Profile'; + const Search = Input.Search; class Index extends Component { @@ -255,8 +256,12 @@ class Index extends Component { newItem = ()=>{ return( - 新建镜像项目 - 新建托管项目 + + {this.props.history.push('/projects/mirror/new')}}>新建镜像项目 + + + {this.props.history.push('/projects/deposit/new')}}>新建托管项目 + ) }