Commit fc12e787 by 前端

Merge branch 'v2.9.0' into 'develop'

V2.9.0

See merge request !33
2 parents 3c4cd9b4 dc850e6c
......@@ -782,8 +782,8 @@
if (value && value.length < 3) {
return '登录账户名请填入3-15位字符'
}
if (!isNaN(value)) {
return '登录账户名不可为纯数字'
if (value.length == 11 &&!isNaN(value)) {
return '登录账户名不可为 11 位纯数字'
}
},
merchantLoginPassword: function (value) {
......
......@@ -780,8 +780,8 @@
if (value && value.length < 3) {
return '登录账户名请填入3-15位字符'
}
if (!isNaN(value)) {
return '登录账户名不可为纯数字'
if (value.length == 11 &&!isNaN(value)) {
return '登录账户名不可为 11 位纯数字'
}
},
merchantLoginPassword: function (value) {
......
......@@ -291,7 +291,7 @@
<div class="layui-form-item">
<label class="layui-form-label required">登录账户名:</label>
<div class="layui-input-inline">
<input class="layui-input" id="merchantLoginAccountEl" name="merchantLoginAccount" maxlength="15"
<input class="layui-input disabled" id="merchantLoginAccountEl" name="merchantLoginAccount" maxlength="15"
placeholder="请输入登录账户名" required lay-verify="required|merchantLoginAccount" />
</div>
</div>
......@@ -736,8 +736,8 @@
if (value && value.length < 3) {
return '登录账户名请填入3-15位字符'
}
if (!isNaN(value)) {
return '登录账户名不可为纯数字'
if (value.length == 11 &&!isNaN(value)) {
return '登录账户名不可为 11 位纯数字'
}
},
merchantLoginPassword: function (value) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!