dev_cs_new
caishi 5 years ago
parent cd80ea20f8
commit f50b79c343

@ -358,10 +358,15 @@ class BoardsNew extends Component{
dropdownRender={menu => ( dropdownRender={menu => (
<div> <div>
{menu} {menu}
<Divider style={{ margin: '4px 0' }} /> {
<div style={{ padding: '8px', cursor: 'pointer' }} onMouseDown={() => this.refs['addDirModal'].open()}> isAdmin &&
<Icon type="plus" /> 添加目录 <React.Fragment>
</div> <Divider style={{ margin: '4px 0' }} />
<div style={{ padding: '8px', cursor: 'pointer' }} onMouseDown={() => this.refs['addDirModal'].open()}>
<Icon type="plus" /> 添加目录
</div>
</React.Fragment>
}
</div> </div>
)} )}
> >

@ -22,7 +22,7 @@ class NoneData extends Component{
} }
`} `}
</style> </style>
<img className="edu-nodata-img mb20" src={getUrl("images/educoder/nodata.png")}/> <img className="edu-nodata-img mb20" src={getUrl("/images/educoder/nodata.png")}/>
<p className="edu-nodata-p mb20">暂时还没有相关数据哦</p> <p className="edu-nodata-p mb20">暂时还没有相关数据哦</p>
</div> </div>
) )

@ -288,6 +288,7 @@ class Poll extends Component{
}) })
let{type,StudentList_value}=this.state let{type,StudentList_value}=this.state
this.InitList(type,StudentList_value,1); this.InitList(type,StudentList_value,1);
this.props.updataleftNavfun();
} }
}).catch((error)=>{ }).catch((error)=>{
console.log(error); console.log(error);

Loading…
Cancel
Save