dev_aliyun_beta
杨树林 6 years ago
parent 26cdcc5dbb
commit 827196d046

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

Loading…
Cancel
Save