Commit 20c22279 by xuzhenghua

ui问题

parent e343b661
...@@ -41,12 +41,8 @@ export default class RecordPopup extends Component { ...@@ -41,12 +41,8 @@ export default class RecordPopup extends Component {
</div> </div>
<div className="table__body"> <div className="table__body">
{ {
<<<<<<< HEAD
recordList.length>0? recordList.length>0?
recordList.map((item, index) => { recordList.map((item, index) => {
=======
recordList.length > 0 && recordList.map((item, index) => {
>>>>>>> 34c558626cde36bc53ef82ea62da8a8d7e3881ab
return (<div className="tr__container" key={index}> return (<div className="tr__container" key={index}>
<span className="tr">{item.submit_time}</span> <span className="tr">{item.submit_time}</span>
<span className="tr">{item.score}</span> <span className="tr">{item.score}</span>
...@@ -62,13 +58,6 @@ export default class RecordPopup extends Component { ...@@ -62,13 +58,6 @@ export default class RecordPopup extends Component {
}): }):
<div className={'notdata'}>暂无测试记录</div> <div className={'notdata'}>暂无测试记录</div>
} }
{
recordList.length === 0 && (
<div className="tr__container">
<p>暂无测试记录</p>
</div>
)
}
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment