From 7dd97f11bf6d42b41c812144475a31dabec4c107 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 06 五月 2024 17:12:19 +0800
Subject: [PATCH] 代码初始化

---
 h5/pages/userinfo/userinfo.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/h5/pages/userinfo/userinfo.vue b/h5/pages/userinfo/userinfo.vue
index fc49bd6..315bfb3 100644
--- a/h5/pages/userinfo/userinfo.vue
+++ b/h5/pages/userinfo/userinfo.vue
@@ -86,8 +86,8 @@
 					userAnswerId: '',
 					name: '',
 					phone: '',
-					idcardType: '',
-					idcardTypeName: '',
+					idcardType: '0',
+					idcardTypeName: '韬唤璇�',
 					idcardNo: '',
 					faceImg: '',
 					faceImgUrl: '',
@@ -198,7 +198,7 @@
 				that.$refs.cropper.close()
 				uni.showLoading({ title: '涓婁紶涓�', mask: true });
 				uni.uploadFile({
-					url: `${this.$baseUrl}public/api/uploadFtp.do`,
+					url: `${this.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 					filePath: file.tempFilePath,
 					name: 'file',
 					formData: {
@@ -221,7 +221,7 @@
 				var that = this
 				that.type = type
 				if (type === 'faceImg') {
-					that.$refs.cropper.open()
+					that.$refs.cropper.chooseImage()
 					return
 				}
 				uni.chooseImage({
@@ -234,7 +234,7 @@
 						if (type === 'imgurl') {
 							uni.showLoading({ title: '涓婁紶涓�', mask: true });
 							uni.uploadFile({
-								url: `${that.$baseUrl}public/api/uploadFtp.do`,
+								url: `${that.$baseUrl}visitsAdmin/cloudService/web/public/uploadFtp.do`,
 								filePath: chooseImageRes.tempFilePaths[0],
 								name: 'file',
 								formData: {

--
Gitblit v1.9.3