Commit b45fc574 by yuananting

fix: 调试

parent 162989ba
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-02-25 14:34:29 * @Date: 2021-02-25 14:34:29
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-03-25 17:35:09 * @LastEditTime: 2021-03-25 17:54:40
* @Description: 助学工具-题库-题目管理-新建题目Tab * @Description: 助学工具-题库-题目管理-新建题目Tab
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -100,8 +100,9 @@ class NewQuestionTab extends Component { ...@@ -100,8 +100,9 @@ class NewQuestionTab extends Component {
// if (questionInfo.gapFillingAnswerList !== this.state.gapFillingAnswer) { // if (questionInfo.gapFillingAnswerList !== this.state.gapFillingAnswer) {
console.log("4. 组件更新:", questionInfo.gapFillingAnswerList) console.log("4. 组件更新:", questionInfo.gapFillingAnswerList)
this.setState({ this.setState({
gapFillingAnswer: questionInfo.gapFillingAnswerList, gapFillingAnswer: JSON.parse(
}); JSON.stringify(questionInfo.gapFillingAnswerList)),
}, () => console.log("___________________", this.state.gapFillingAnswer));
// } // }
this.setState( this.setState(
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment