修改地址栏 undefined 情况

chromesetting
tangjiang 5 years ago
parent ec4eba76ce
commit 4d81f511ef

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-11-27 15:02:52
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-20 19:06:48
* @LastEditTime: 2019-12-20 20:07:11
*/
import './index.scss';
import React, { useState, useRef, useEffect } from 'react';
@ -160,7 +160,7 @@ function MyMonacoEditor (props, ref) {
</Tooltip>
<Tooltip
placement="bottom"
title="重置"
title="恢复"
>
<MyIcon
className="flex_normal"

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-12-04 08:36:21
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-20 19:29:39
* @LastEditTime: 2019-12-20 20:05:57
*/
import './index.scss';
import React, { useState, useEffect } from 'react';
@ -67,7 +67,7 @@ function RecordDetail (props) {
<span>{detail.name || 'test'}</span>
</div>
<div className={'study_quit'}>
<Button>
<Button style={{ visibility: identifier ? 'visible' : 'hidden'}}>
<Link to={`/myproblems/${identifier}`}>返回该题</Link>
</Button>
</div>
@ -98,6 +98,7 @@ function RecordDetail (props) {
<div className="detail_ctx_header">
<h2 className="header_h2">提交内容</h2>
<Button
style={{ visibility: identifier ? 'visible' : 'hidden'}}
className={'header_btn'}
type="primary"
>

Loading…
Cancel
Save