From 4b21a465f3c48120f1d10a5a04921dfdce7a0143 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 01 三月 2024 10:37:12 +0800
Subject: [PATCH] mrshi
---
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