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();