Commit 5a771acc authored by xiabin's avatar xiabin

昵称的10字限制没有提醒,超过10个字仍然可以输入,但保存的时候才会提示超过,但没有具体提示超过多少。

parent 17f1a04a
......@@ -144,7 +144,7 @@ class UserCenterController extends Controller
$msg = "";
if (Utils::getStringLen($username) > 20) {
$status = FALSE;
$msg = '昵称超过长度限制';
$msg = '昵称请保持在10个汉字以内';
} else {
$user = Yii::$app->user->identity;
$oldAvatar = FALSE;//标记是否进行资源清理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment