From 7e9fb848fb45656f8f5d4338d6b5d1d0e7d4352e Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 01 三月 2024 14:58:49 +0800
Subject: [PATCH] 整理
---
h5/pages/userinfo/userinfo.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/h5/pages/userinfo/userinfo.vue b/h5/pages/userinfo/userinfo.vue
index 73fc279..d328ee9 100644
--- a/h5/pages/userinfo/userinfo.vue
+++ b/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'
--
Gitblit v1.9.3