ZigbeeApp/Shared/Phone/Device/Account/AccountLogic.cs
@@ -76,6 +76,24 @@ var regex = new Regex(CommonPage.PhoneForForeignRegexStr); return regex.IsMatch(phone); } } #endregion #region ◆ 密码____________________________ /// <summary> /// 检查密码长度合法性 /// </summary> /// <param name="password"></param> /// <returns></returns> public bool CheckPwdLength(string password) { if (password.Trim().Length >= 6 && password.Trim().Length <= 13) { return true; } return false; } #endregion