丰都个人中心 姓名,身份证隐藏
This commit is contained in:
		| @@ -33,7 +33,7 @@ | ||||
|       </div> | ||||
|  | ||||
|       <div class="item-content mar-b8"> | ||||
|         <div class="item solid"> | ||||
|         <!-- <div class="item solid"> | ||||
|           <p>真实姓名</p> | ||||
|           <div class="item-right" v-if="!editRealName"> | ||||
|             <p class="name">{{ user.realName || '' }}</p> | ||||
| @@ -46,7 +46,7 @@ | ||||
|             <p class="name">{{ user.idNumber || '' }}</p> | ||||
|           </div> | ||||
|           <input class="item-right" v-else type="idNumber" v-model="userIdNumber" maxlength="18" @input="idNumberInput"> | ||||
|         </div> | ||||
|         </div> --> | ||||
|         <div class="item"> | ||||
|           <p>所属网格</p> | ||||
|           <div class="item-right" v-if="!editGird"> | ||||
| @@ -132,12 +132,12 @@ export default { | ||||
|       if (!this.userPhone) { | ||||
|         return this.$u.toast('请输入手机号') | ||||
|       } | ||||
|       if (!this.userRealName) { | ||||
|         return this.$u.toast('请输入真实姓名') | ||||
|       } | ||||
|       if (!this.userIdNumber) { | ||||
|         return this.$u.toast('请输入身份证号') | ||||
|       } | ||||
|       // if (!this.userRealName) { | ||||
|       //   return this.$u.toast('请输入真实姓名') | ||||
|       // } | ||||
|       // if (!this.userIdNumber) { | ||||
|       //   return this.$u.toast('请输入身份证号') | ||||
|       // } | ||||
|       if (!this.$idCardNoUtil.checkIdCardNo(this.userIdNumber)) { | ||||
|         return this.$u.toast('请输入正确的身份证号码') | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user