upagte test code

dev_tpm_ui
tangjiang 5 years ago
parent 0d93af0963
commit 54a42547bb

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-12-03 15:20:55
* @LastEditors : tangjiang
* @LastEditTime : 2019-12-25 11:41:42
* @LastEditTime : 2019-12-27 22:35:14
*/
import './index.scss';
import React from 'react';

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-11-27 09:49:33
* @LastEditors : tangjiang
* @LastEditTime : 2019-12-27 17:14:04
* @LastEditTime : 2019-12-27 22:40:32
*/
import './index.scss';
import React, { useState, useEffect } from 'react';
@ -96,7 +96,7 @@ const CommitRecord = (props) => {
const {
id,
// error_line,
// error_msg,
error_msg,
// execute_memory,
// execute_time,
// input,
@ -123,7 +123,7 @@ const CommitRecord = (props) => {
复制错误信息 <Icon type="copy" className={'icon_style'}/>
</span>
</p>
<p className={'show_detail'}>
<p className={'show_detail'} style={{ visibility: id ? 'visible' : 'hidden' }}>
<Link to={`/myproblems/record_detail/${id}`}>
显示详情 <Icon type="right" className={'icon_style'}/>
</Link>

Loading…
Cancel
Save