支持管理账号手机号选填
This commit is contained in:
@@ -439,7 +439,7 @@ Page({
|
||||
if (!form.account) {
|
||||
return '请输入账号'
|
||||
}
|
||||
if (!form.phone || form.phone.length !== 11) {
|
||||
if (form.phone && form.phone.length !== 11) {
|
||||
return '请输入 11 位手机号'
|
||||
}
|
||||
if (this.data.mode === 'create' && !form.password) {
|
||||
|
||||
Reference in New Issue
Block a user