From 0e4b49f4bee160790b1830e6a8606e739b32fc3b Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期三, 11 三月 2026 09:09:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
mini-program/pages/new-address/new-address.vue | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/mini-program/pages/new-address/new-address.vue b/mini-program/pages/new-address/new-address.vue
index 45de06b..008184c 100644
--- a/mini-program/pages/new-address/new-address.vue
+++ b/mini-program/pages/new-address/new-address.vue
@@ -117,6 +117,22 @@
})
},
submit() {
+ if (!this.form.name) return uni.showToast({
+ title: '鏀朵欢浜轰笉鑳戒负绌猴紒',
+ icon: 'none'
+ })
+ if (!this.form.phone) return uni.showToast({
+ title: '鑱旂郴鐢佃瘽涓嶈兘涓虹┖锛�',
+ icon: 'none'
+ })
+ if (!this.form.areaName) return uni.showToast({
+ title: '鎵�鍦ㄥ湴鍖轰笉鑳戒负绌猴紒',
+ icon: 'none'
+ })
+ if (!this.form.addr) return uni.showToast({
+ title: '璇︾粏鍦板潃涓嶈兘涓虹┖锛�',
+ icon: 'none'
+ })
if (this.type === 1) {
this.$u.api.createAddr(this.form)
.then(res => {
--
Gitblit v1.9.3