k94314517
2024-05-06 7dd97f11bf6d42b41c812144475a31dabec4c107
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: {