import React, {Component} from "react"; import {Link, NavLink} from 'react-router-dom'; import {WordsBtn, ActionBtn,SnackbarHOC,getImageUrl} from 'educoder'; import axios from 'axios'; import { notification, Spin, Table, Pagination, Tabs, Input, Popover } from "antd"; import './../testioncss/testioncss.css'; import NoneDatas from '../component/NoneDatas'; import LoadingSpin from '../../../common/LoadingSpin'; import Contentquestionbank from "./Contentquestionbank"; const { TabPane } = Tabs; const Search = Input.Search; class Contentpart extends Component { constructor(props) { super(props); this.state = { page:1, } } //初始化 componentDidMount(){ } render() { let {page}=this.state; let {defaultActiveKey}=this.props; const content = (
this.props.setitem_types("SINGLE")}>单选题
this.props.setitem_types("MULTIPLE")}>多选题
this.props.setitem_types("JUDGMENT")}>判断题
this.props.setitem_types("PROGRAM")}>编程题
this.props.setdifficulty(1)}>简单
this.props.setdifficulty(2)}>适中
this.props.setdifficulty(3)}>困难
新增