h5/pages/userinfo/userinfo.vue
@@ -27,7 +27,7 @@ </view> </view> <view class="cell"> <view class="title">公司</view> <view class="title">公司<b>*</b></view> <view class="content"> <input class="input" maxlength="50" placeholder-style="color: #999999;" v-model="visitorData.companyName" placeholder="请输入您的公司名称" /> </view> @@ -129,6 +129,10 @@ icon: 'none' }) } if (!this.visitorData.companyName) return uni.showToast({ title: '公司不能为空', icon: 'none' }) if (!this.visitorData.faceImg) return uni.showToast({ title: '人脸照片不能为空', icon: 'none'