+ this.setState({mode: e.target.value})}>
+ 内置
+ 自定义
+
+
+
+ {getFieldDecorator('server', {
+ initialValue: this.setting['server'], rules: [
+ {required: true, message: '请输入邮件服务器地址'}
+ ]
+ })(
+
+ )}
+
+
+ {getFieldDecorator('port', {
+ initialValue: this.setting['port'], rules: [
+ {required: true, message: '请输入邮件服务端口'}
+ ]
+ })(
+
+ )}
+
+
+ {getFieldDecorator('username', {
+ initialValue: this.setting['username'], rules: [
+ {required: true, message: '请输入邮箱账号'}
+ ]
+ })(
+
+ )}
+
+
+ {getFieldDecorator('password', {
+ initialValue: this.setting['password'], rules: [
+ {required: true, message: '请输入邮箱账号对应的密码'}
+ ]
+ })(
+
+ )}
+
+
+ {getFieldDecorator('nickname', {initialValue: this.setting['nickname']})(
+
+ )}
+
+
+
+