|
|
|
@ -79,11 +79,11 @@ class GroupjobbankPage extends Component {
|
|
|
|
|
const menuData={
|
|
|
|
|
tab:'0',//tab选中的index
|
|
|
|
|
menuArray:[//tab以及tab路由
|
|
|
|
|
{to:`/banks/normal/${workids}/${this.props.match.params.type}/details`,content:'内容详情'},
|
|
|
|
|
{to:`/banks/normal/${workids}/${this.props.match.params.type}/answer`,content:'参考答案'}
|
|
|
|
|
{to:`/banks/group/${workids}/${this.props.match.params.type}/details`,content:'内容详情'},
|
|
|
|
|
{to:`/banks/group/${workids}/${this.props.match.params.type}/answer`,content:'参考答案'}
|
|
|
|
|
],
|
|
|
|
|
category:'normal',//毕设选题
|
|
|
|
|
tos:`/banks/normal/${workids}/edit/${this.props.match.params.type}`,
|
|
|
|
|
category:'group',//毕设选题
|
|
|
|
|
tos:`/banks/group/${workids}/edit/${this.props.match.params.type}`,
|
|
|
|
|
id:workids,
|
|
|
|
|
}
|
|
|
|
|
this.setState({
|
|
|
|
|