Explorar o código

注册时邮箱非必填

htc hai 17 horas
pai
achega
b33b45f4f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/registerInfo.vue

+ 1 - 1
pages/registerInfo.vue

@@ -48,7 +48,7 @@
 		methods:{
 			handleSubmit(){
 				if(!this.dto.realName) return this.$showToast('请输入姓名')
-				if(!this.$reg.email(this.dto.email)) return this.$showToast('请输入正确的邮箱')
+				// if(!this.$reg.email(this.dto.email)) return this.$showToast('请输入正确的邮箱')
 				
 				uni.showLoading({ title:'注册提交中' });
 				this.$api.post('/wx/register',this.dto,false).then(({data:res})=>{