|
|
|
@ -72,13 +72,18 @@ class LiveItem extends Component{
|
|
|
|
|
</div>
|
|
|
|
|
<p className="lineMiddle livesMain mt15 font-12">
|
|
|
|
|
<span className="color-grey-9">创建时间:{item.created_at}</span>
|
|
|
|
|
{
|
|
|
|
|
item.op_auth ?
|
|
|
|
|
|
|
|
|
|
<span>
|
|
|
|
|
<WordsBtn style="grey" onClick={()=>setLiveId(item.id)}>编辑</WordsBtn>
|
|
|
|
|
<WordsBtn style="grey" className="ml30" onClick={()=>this.deleteLive(item.id)}>删除</WordsBtn>
|
|
|
|
|
</span>:""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
item.op_auth ?
|
|
|
|
|
<WordsBtn style="grey" onClick={()=>setLiveId(item.id)}>编辑</WordsBtn>:""
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
item.delete_auth ?
|
|
|
|
|
<WordsBtn style="s" className="ml30" onClick={()=>this.deleteLive(item.id)}>删除</WordsBtn>
|
|
|
|
|
:""
|
|
|
|
|
}
|
|
|
|
|
</span>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|