gxc
2019-12-09 9f1d51429ec86d618bcdb75aee505a57ae94db30
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