From 908ce43ff21c2068ef5148b0a417423c8ed9eae5 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 三月 2025 16:37:32 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
h5/pages/userinfo/userinfo.vue | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/h5/pages/userinfo/userinfo.vue b/h5/pages/userinfo/userinfo.vue
index c825b10..9fe4385 100644
--- a/h5/pages/userinfo/userinfo.vue
+++ b/h5/pages/userinfo/userinfo.vue
@@ -258,12 +258,15 @@
isFace: 0
},
success: (uploadFileRes) => {
- let res = JSON.parse(uploadFileRes.data)
+ let res = JSON.parse(uploadFileRes.data)
+ if(res.code !== 200){
+ return this.showToast(res.message)
+ }
this.visitorData.faceImg = res.data.halfPath
this.visitorData.faceImgUrl = res.data.prefixPath + res.data.folder + res.data.halfPath
},
- fail(err) {
- alert('澶辫触')
+ fail: (err) => {
+ // this.showToast(err)
},
complete() {
uni.hideLoading();
--
Gitblit v1.9.3