Przeglądaj źródła

注册时邮箱非必填

htc 13 godzin temu
rodzic
commit
b33b45f4f6
1 zmienionych plików z 1 dodań i 1 usunięć
  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})=>{