Change
This commit is contained in:
parent
876a1ccc3c
commit
5b627f787f
|
@ -58,8 +58,8 @@ export function initAxiosInterceptors(props) {
|
||||||
initOnlineOfflineListener()
|
initOnlineOfflineListener()
|
||||||
// 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 = "https://testforgeplus.trustie.net"
|
||||||
|
|
||||||
const requestMap = {};
|
const requestMap = {};
|
||||||
window.setfalseInRequestMap = function (keyName) {
|
window.setfalseInRequestMap = function (keyName) {
|
||||||
|
|
|
@ -184,12 +184,21 @@ class CoderRootFileDetail extends Component {
|
||||||
<div>
|
<div>
|
||||||
{readOnly ? (
|
{readOnly ? (
|
||||||
<span>
|
<span>
|
||||||
<a onClick={() => this.EditFile(false)} className="ml20">
|
{
|
||||||
<i className="iconfont icon-bianji1 font-15 color-grey-6"></i>
|
detail.direct_download ?
|
||||||
</a>
|
""
|
||||||
<a onClick={() => this.DownLoadFile(detail.download_url)} className="ml20">
|
:
|
||||||
<i className="iconfont icon-xiazai1 font-15 color-grey-6"></i>
|
<span>
|
||||||
</a>
|
<a onClick={() => this.DownLoadFile(detail.download_url)} className="ml20">
|
||||||
|
<i className="iconfont icon-xiazai1 font-15 color-grey-6"></i>
|
||||||
|
</a>
|
||||||
|
<a onClick={() => this.EditFile(false)} className="ml20">
|
||||||
|
<i className="iconfont icon-bianji1 font-15 color-grey-6"></i>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</span>
|
||||||
|
}
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Reference in New Issue