forked from Gitlink/forgeplus-react
btn color
This commit is contained in:
parent
a67ea1731c
commit
479534c49f
|
|
@ -29,14 +29,6 @@ function SelfList(props){
|
|||
}
|
||||
},[id,source,page])
|
||||
|
||||
function getFunc(s){
|
||||
if(s===true){
|
||||
getSource();
|
||||
}
|
||||
if(s===false){
|
||||
getNew();
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(()=>{
|
||||
if(page===1){
|
||||
|
|
@ -47,6 +39,14 @@ function SelfList(props){
|
|||
}
|
||||
},[status])
|
||||
|
||||
function getFunc(s){
|
||||
if(s===true){
|
||||
getSource();
|
||||
}
|
||||
if(s===false){
|
||||
getNew();
|
||||
}
|
||||
}
|
||||
|
||||
useEffect(()=>{
|
||||
if(pathname){
|
||||
|
|
@ -126,8 +126,8 @@ function SelfList(props){
|
|||
</div>
|
||||
</div>
|
||||
<div className="delBoxBtn">
|
||||
<Button onClick={cancelFunc}>取消</Button>
|
||||
<Button type="primary" onClick={sureFunc} style={{backgroundColor:"#fff",color:"#466aff"}}>确认</Button>
|
||||
<Button onClick={cancelFunc} style={{borderColor:"#d9d9d9",color:"rgba(0, 0, 0, 0.65)"}}>取消</Button>
|
||||
<Button type="primary" onClick={sureFunc} style={{backgroundColor:"#fff"}}>确认</Button>
|
||||
</div>
|
||||
</Modal>
|
||||
<Breadcrumb separator=">" style={{paddingTop:"20px"}}>
|
||||
|
|
|
|||
|
|
@ -1723,6 +1723,10 @@
|
|||
.ant-btn{
|
||||
width: 95px;
|
||||
margin:0px 20px;
|
||||
&.ant-btn-primary{
|
||||
color: var(--primary-color);
|
||||
border-color: var(--primary-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue