新增allow_delete 判断是否能删除

dev_hjm
hjm 6 years ago
parent cde78d7603
commit faefeff99b

@ -484,8 +484,9 @@ class PathDetailIndex extends Component{
<div className="fl ml15 flex1">
<p className="mb10 mt5">{item.name}
{/* 新增allow_delete 判断是否能删除 */}
{
detailInfoList===undefined?"":detailInfoList.allow_add_member===true?
item.allow_delete===true?
<a className="fr" onClick={()=>this.shanchuallow(item.id)}><i className="iconfont icon-shanchu color-grey-c font-14 font-n"></i></a>:""
}
</p>

Loading…
Cancel
Save