forked from Gitlink/forgeplus-react
route
This commit is contained in:
parent
33c3395221
commit
65a2bd43cf
|
@ -65,7 +65,7 @@ export function initAxiosInterceptors(props) {
|
||||||
// TODO 避免重复的请求 https://github.com/axios/axios#cancellation
|
// TODO 避免重复的请求 https://github.com/axios/axios#cancellation
|
||||||
var
|
var
|
||||||
proxy = "http://localhost:3000"
|
proxy = "http://localhost:3000"
|
||||||
proxy = "https://testforgeplus.trustie.net"
|
proxy = "http://39.105.176.215:49999"
|
||||||
|
|
||||||
const requestMap = {};
|
const requestMap = {};
|
||||||
window.setfalseInRequestMap = function (keyName) {
|
window.setfalseInRequestMap = function (keyName) {
|
||||||
|
|
|
@ -487,13 +487,13 @@ class CoderRootDirectory extends Component {
|
||||||
{subFileType && (projectDetail && parseInt(projectDetail.type)) !== 2 && (isManager || isDeveloper) && (
|
{subFileType && (projectDetail && parseInt(projectDetail.type)) !== 2 && (isManager || isDeveloper) && (
|
||||||
<div>
|
<div>
|
||||||
<span>
|
<span>
|
||||||
<Link to={`/projects/${owner}/${projectsId}/coders/${branch}/uploadfile${urlRoot}`} >
|
<Link to={`/projects/${owner}/${projectsId}/${branch}/uploadfile${urlRoot}`} >
|
||||||
<span className="color-green mr30">上传文件</span>
|
<span className="color-green mr30">上传文件</span>
|
||||||
</Link>
|
</Link>
|
||||||
</span>
|
</span>
|
||||||
<span className="mr30">
|
<span className="mr30">
|
||||||
<Link
|
<Link
|
||||||
to={`/projects/${owner}/${projectsId}/coders/${branch}/newfile${urlRoot}`}
|
to={`/projects/${owner}/${projectsId}/${branch}/newfile${urlRoot}`}
|
||||||
>
|
>
|
||||||
<span className="color-blue">新建文件</span>
|
<span className="color-blue">新建文件</span>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
Loading…
Reference in New Issue