diff --git a/src/views/EditDetailsPage.vue b/src/views/EditDetailsPage.vue
index 498233c..f8b17d3 100644
--- a/src/views/EditDetailsPage.vue
+++ b/src/views/EditDetailsPage.vue
@@ -346,7 +346,7 @@ const handleQrUploadSuccess = (response, type) => {
unionpay: 'unionpayQr'
}
- form[fieldMap[type]] = response.url
+ form[fieldMap[type]] = response.data.url
ElMessage.success('收款码上传成功')
} else {
ElMessage.error(response.message || '上传失败')
@@ -403,8 +403,10 @@ const beforeDocumentUpload = (file) => {
* @param {string} type - 证件类型 (businessLicense/idCardFront/idCardBack)
*/
const handleDocumentUploadSuccess = (response, type) => {
+ console.log(response, 'response');
+
if (response.success) {
- form[type] = response.url
+ form[type] = response.data.url
const typeNames = {
businessLicense: '营业执照',
idCardFront: '身份证正面',
diff --git a/src/views/Login.vue b/src/views/Login.vue
index a61e16f..7003c9e 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -156,11 +156,11 @@ const handleLogin = async () => {
if (!valid) return
// 验证验证码
- const captchaValid = await captchaRef.value.verifyCaptcha(loginForm.captcha)
- if (!captchaValid) {
- loginForm.captcha = ''
- return
- }
+ // const captchaValid = await captchaRef.value.verifyCaptcha(loginForm.captcha)
+ // if (!captchaValid) {
+ // loginForm.captcha = ''
+ // return
+ // }
// 获取验证码信息
const captchaInfo = captchaRef.value.getCaptchaInfo()
diff --git a/src/views/Matching.vue b/src/views/Matching.vue
index 87f6371..df27f18 100644
--- a/src/views/Matching.vue
+++ b/src/views/Matching.vue
@@ -330,10 +330,19 @@
:before-upload="beforeUpload"
:on-success="handleUploadSuccess"
:on-error="handleUploadError"
+ :on-progress="handleUploadProgress"
:show-file-list="false"
+ :disabled="transferDialog.uploading"
accept="image/*"
>
-