Explorar o código

增加默认姓名

chenxiong %!s(int64=3) %!d(string=hai) anos
pai
achega
b4ca3d9d68
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      pages2/verify/input.vue

+ 8 - 0
pages2/verify/input.vue

@@ -523,6 +523,10 @@ export default {
 				 	if(item.fieldKey == "telphone") {
 				 		this.form.telphone = this.userInfo.telphone;
 				 	}
+					
+					if(item.fieldKey == "name") {
+						this.form.name = this.userInfo.realname
+					}
 				 })
 			}
 		 },
@@ -796,6 +800,10 @@ export default {
 					if(item.fieldKey == "telphone") {
 						this.form.telphone = this.userInfo.telphone;
 					}
+					
+					if(item.fieldKey == "name") {
+						this.form.name = this.userInfo.realname
+					}
 				})
 				self.isRequired = self.listData.every(ims => {
 					return ims.required === false;