提交 089a76a4 编写于 作者: U unknown

修复昵称必须填写的问题

上级 41e85ce5
...@@ -864,8 +864,8 @@ MWF.xApplication.Profile.Main = new Class({ ...@@ -864,8 +864,8 @@ MWF.xApplication.Profile.Main = new Class({
this.personData.mobile = this.mobileInputNode.get("value"); this.personData.mobile = this.mobileInputNode.get("value");
this.personData.weixin = this.weixinInputNode.get("value"); this.personData.weixin = this.weixinInputNode.get("value");
this.personData.qq = this.qqInputNode.get("value"); this.personData.qq = this.qqInputNode.get("value");
var oldNickName = this.personData; var oldNickName = this.personData.nickName || "";
this.personData.nickName = this.nickNameInputNode.get("value"); this.personData.nickName = this.nickNameInputNode.get("value") || "";
// this.personData.ipAddress = this.ipAddressInputNode.get("value"); // this.personData.ipAddress = this.ipAddressInputNode.get("value");
this.personData.signature = this.signatureInputNode.get("value"); this.personData.signature = this.signatureInputNode.get("value");
this.personData.language = this.languageSelectNode.options[this.languageSelectNode.selectedIndex].value; this.personData.language = this.languageSelectNode.options[this.languageSelectNode.selectedIndex].value;
......
...@@ -33,7 +33,7 @@ MWF.xApplication.Profile.LP = { ...@@ -33,7 +33,7 @@ MWF.xApplication.Profile.LP = {
"signature": "Signature", "signature": "Signature",
"saveInfor": "Save personal information", "saveInfor": "Save personal information",
"saveInforOk": "Personal information saved successfully", "saveInforOk": "Personal information saved successfully",
"nickNameInforError": "The nickname format is incorrect, the rules are as follows: only Chinese, English, _, - and spaces can be used, the length is 4 to 20, and the length of one Chinese is 2", "nickNameInforError": "The nickname format is incorrect, the rules are as follows: only Chinese, Number, English, _, - and spaces can be used, the length is 4 to 20, and the length of one Chinese is 2",
"ipAddress" : "Login IP", "ipAddress" : "Login IP",
"ipAddressPlaceHolder" : "If it is not empty, only the matching ip address can log in to the account. Separate multiple values with \",\"", "ipAddressPlaceHolder" : "If it is not empty, only the matching ip address can log in to the account. Separate multiple values with \",\"",
"ipAddressIncorrectNotice" : "IP address format is incorrect:", "ipAddressIncorrectNotice" : "IP address format is incorrect:",
......
...@@ -33,7 +33,7 @@ MWF.xApplication.Profile.LP = { ...@@ -33,7 +33,7 @@ MWF.xApplication.Profile.LP = {
"signature": "个人签名", "signature": "个人签名",
"saveInfor": "保存个人信息", "saveInfor": "保存个人信息",
"saveInforOk": "保存个人信息成功", "saveInforOk": "保存个人信息成功",
"nickNameInforError": "昵称格式不正确,规则如下:只能用中文、英文、_、-和空格,长度为4到20,一个中文长度为2", "nickNameInforError": "昵称格式不正确,规则如下:只能用中文、数字、英文、_、-和空格,长度为4到20,一个中文长度为2",
"ipAddress" : "登录IP", "ipAddress" : "登录IP",
"ipAddressPlaceHolder" : "如果不为空,匹配的ip地址才能登录,用,分隔多值", "ipAddressPlaceHolder" : "如果不为空,匹配的ip地址才能登录,用,分隔多值",
"ipAddressIncorrectNotice" : "IP地址格式不正确:", "ipAddressIncorrectNotice" : "IP地址格式不正确:",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册