代码库编辑文件-切换到其它目录后要重新将编辑状态改为显示状态
This commit is contained in:
parent
b2f2df65bb
commit
7102594444
|
@ -94,6 +94,7 @@ function CoderDepot(props){
|
||||||
setLastCommit(c && c.commit);
|
setLastCommit(c && c.commit);
|
||||||
setLastCommitAuthor(c && (c.author || (c.commit && c.commit.author)));
|
setLastCommitAuthor(c && (c.author || (c.commit && c.commit.author)));
|
||||||
setMainFlag(true);
|
setMainFlag(true);
|
||||||
|
setReadOnly(true);
|
||||||
}
|
}
|
||||||
setTimeout(function(){setIsSpin(false);},500);
|
setTimeout(function(){setIsSpin(false);},500);
|
||||||
}).catch(error=>{setIsSpin(false);})
|
}).catch(error=>{setIsSpin(false);})
|
||||||
|
@ -135,6 +136,7 @@ function CoderDepot(props){
|
||||||
setLastCommit(c && c.commit);
|
setLastCommit(c && c.commit);
|
||||||
setLastCommitAuthor(c && (c.author || (c.commit && c.commit.author)));
|
setLastCommitAuthor(c && (c.author || (c.commit && c.commit.author)));
|
||||||
setMainFlag(false);
|
setMainFlag(false);
|
||||||
|
setReadOnly(true);
|
||||||
}
|
}
|
||||||
setTimeout(function(){setIsSpin(false);},500)
|
setTimeout(function(){setIsSpin(false);},500)
|
||||||
}).catch(error=>{setIsSpin(false);})
|
}).catch(error=>{setIsSpin(false);})
|
||||||
|
|
|
@ -220,6 +220,9 @@
|
||||||
.listtablebody{
|
.listtablebody{
|
||||||
li.listtablepath{
|
li.listtablepath{
|
||||||
a{color: #40a9ff;}
|
a{color: #40a9ff;}
|
||||||
|
p{
|
||||||
|
margin-bottom: 0px!important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
li{
|
li{
|
||||||
height: 42px;
|
height: 42px;
|
||||||
|
|
Loading…
Reference in New Issue