diff --git a/public/react/src/modules/courses/poll/PollNewQuestbank.js b/public/react/src/modules/courses/poll/PollNewQuestbank.js index 7dc277e69..9e5882db0 100644 --- a/public/react/src/modules/courses/poll/PollNewQuestbank.js +++ b/public/react/src/modules/courses/poll/PollNewQuestbank.js @@ -2251,7 +2251,7 @@ class PollNewQuestbank extends Component { //提交题目//没有就创建新的题库,新建问newz题和保存题目不一样不能同时保存 这里只是新建 和编辑 标题和须知 submitQuestionnaire = () => { this.props.history.push(`/banks/poll/${this.props.match.params.workid}`); - this.props.initPublic(undefined); + // this.props.initPublic(undefined); // console.log("调用了submitQuestionnaire") // if (this.state.Newedit === true) { // @@ -2475,7 +2475,7 @@ class PollNewQuestbank extends Component { // console.log(this.props); // console.log("toWorkDetail"); this.props.history.push(`/banks/poll/${this.props.match.params.workid}`); - this.props.initPublic(undefined); + // this.props.initPublic(undefined); } render() {