|
|
|
@ -112,7 +112,7 @@ class PollDetailTabForth extends Component{
|
|
|
|
|
|
|
|
|
|
// 已有设置数据的查询
|
|
|
|
|
getSettingInfo=()=>{
|
|
|
|
|
// this.props.getPollInfo();
|
|
|
|
|
this.props.newgetPollInfo();
|
|
|
|
|
let pollId=this.props.match.params.pollId;
|
|
|
|
|
let url=`/polls/${pollId}/poll_setting.json`;
|
|
|
|
|
axios.get(url).then((result)=>{
|
|
|
|
@ -197,7 +197,7 @@ class PollDetailTabForth extends Component{
|
|
|
|
|
|
|
|
|
|
this.props.form.validateFieldsAndScroll((err, values) => {
|
|
|
|
|
if(!err){
|
|
|
|
|
this.props.newgetPollInfo();
|
|
|
|
|
|
|
|
|
|
// 第一次进行问卷设置或者勾选了统一设置
|
|
|
|
|
let{unitSetting}=this.state
|
|
|
|
|
if(unitSetting==true){
|
|
|
|
|