Redux form 中的问题

#1
const fields = ['notifyUrl'];
@reduxForm(
  {form:"callback", fields},
  state=> {
  return {
    notifyUrl: state.organization.notifications,
    params: state.router.params,
    onSubmit: (values,dispatch) => {    }
  }
})

render中的 代码

let {fields:{notifyUrl},handleSubmit} = this.props;

<TextField style={style.textField}  {...notifyUrl}
                           fullWidth={true}
                           hintText="请输入通知地址"
                />

输入框无法显示已经存在的 notifyUrl

#2

return中增加了

initialValues: {
      ... getInitialValues(state)
    },

另外定义了

const getInitialValues = state => {
  if (IdUtil.organizationId(state.router)) {
    return {
      ... state.organization.notifications
    };
  }
};