From 676e8a02799b278d5afa0469df9f3f07be20bcbd Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期一, 06 五月 2024 16:27:11 +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..003109f 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/visit/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/visit/public/uploadFtp.do`,
filePath: chooseImageRes.tempFilePaths[0],
name: 'file',
formData: {
--
Gitblit v1.9.3