This commit is contained in:
caishi 2020-09-15 17:21:10 +08:00
parent 33c3395221
commit 65a2bd43cf
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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>