Commit bf8b49da by end

修改bug

parent fb3477d5
...@@ -175,7 +175,7 @@ class ExamStrategy extends Component { ...@@ -175,7 +175,7 @@ class ExamStrategy extends Component {
enableTask: 0, //是否显示日历任务,0不为显示 enableTask: 0, //是否显示日历任务,0不为显示
strategyInfo: { strategyInfo: {
examRange: 1, examRange: 1,
displayStyle: 1, displayStyle: 2,
showPaper: 1, showPaper: 1,
showGrade: 1, showGrade: 1,
showAnswer: 1, showAnswer: 1,
...@@ -911,9 +911,7 @@ class ExamStrategy extends Component { ...@@ -911,9 +911,7 @@ class ExamStrategy extends Component {
message: "请选择呈现样式", message: "请选择呈现样式",
}, },
], ],
initialValue: examInfo.pageMode initialValue: this.state.strategyInfo.displayStyle,
? examInfo.pageMode
: this.state.strategyInfo.displayStyle,
})( })(
<RadioGroup disabled> <RadioGroup disabled>
{/* <Radio value={1}>整页呈现</Radio> */} {/* <Radio value={1}>整页呈现</Radio> */}
...@@ -1143,9 +1141,7 @@ class ExamStrategy extends Component { ...@@ -1143,9 +1141,7 @@ class ExamStrategy extends Component {
message: "请选择呈现样式", message: "请选择呈现样式",
}, },
], ],
initialValue: examInfo.pageMode initialValue: this.state.strategyInfo.displayStyle,
? examInfo.pageMode
: this.state.strategyInfo.displayStyle,
})( })(
<RadioGroup> <RadioGroup>
{/* <Radio value={1}>整页呈现</Radio> */} {/* <Radio value={1}>整页呈现</Radio> */}
......
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