|
|
|
@ -107,7 +107,7 @@ const options = {
|
|
|
|
|
render: (text, record) => (
|
|
|
|
|
<span>
|
|
|
|
|
<Button type="primary">
|
|
|
|
|
<Link to={`/problems/neworedittask/${record.identifier}`}>编辑</Link>
|
|
|
|
|
<Link to={`/problems/${record.identifier}/edit`}>编辑</Link>
|
|
|
|
|
</Button>
|
|
|
|
|
</span>
|
|
|
|
|
),
|
|
|
|
@ -116,7 +116,7 @@ const columns = [
|
|
|
|
|
{
|
|
|
|
|
title: '标题',
|
|
|
|
|
dataIndex: 'name',
|
|
|
|
|
render: (name, record) => <Link style={{ color: '#459be5' }} to={`/problems/studentstudy/${record.identifier}`}>{name}</Link>
|
|
|
|
|
render: (name, record) => <Link style={{ color: '#459be5' }} to={`/myproblems/${record.identifier}`}>{name}</Link>
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '分类',
|
|
|
|
@ -357,6 +357,7 @@ class DeveloperHome extends React.PureComponent {
|
|
|
|
|
return (
|
|
|
|
|
<Tag
|
|
|
|
|
closable
|
|
|
|
|
className={'search_tag_style'}
|
|
|
|
|
key={info.type}
|
|
|
|
|
onClose={() => this.handleTagClose(info)}
|
|
|
|
|
>{ctx}</Tag>
|
|
|
|
@ -377,7 +378,7 @@ class DeveloperHome extends React.PureComponent {
|
|
|
|
|
<MultipTags type="error" text="困难" numb={diff_count}/>
|
|
|
|
|
</div>
|
|
|
|
|
<Button type="primary">
|
|
|
|
|
<Link to="/problems/neworedittask">新建</Link>
|
|
|
|
|
<Link to="/problems/new">新建</Link>
|
|
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|