upagte test code

dev_tpm_ui
tangjiang 5 years ago
parent 0d93af0963
commit 54a42547bb

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

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

Loading…
Cancel
Save