From 1ed5d8c081251cfc1506b6e916dbebfb7cdd4e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=98=E6=B3=8A=E5=AE=A2?= <1059510186@qq.com> Date: Mon, 27 Nov 2023 16:45:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9D=E5=AE=A1=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/user/index.ts | 1 + src/views/login/components/AccountLoginForm.vue | 1 - src/views/qualityInspectionDistribution/inspectionIndex.vue | 2 +- src/views/system/userCenter/personCenter.vue | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index dfa998a..df2bc2e 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -66,6 +66,7 @@ export function updateUserAvatar(userId: Key | undefined, fileObj: FileObject) { const formData = new FormData() formData.append('file', fileObj.data, fileObj.name) formData.append('userId', userId + '') + console.log("🚀 ~ file: index.ts:69 ~ updateUserAvatar ~ formData:", formData) return httpClient.postForm>('/system/user/avatar', formData) } diff --git a/src/views/login/components/AccountLoginForm.vue b/src/views/login/components/AccountLoginForm.vue index 1d09a02..0321465 100644 --- a/src/views/login/components/AccountLoginForm.vue +++ b/src/views/login/components/AccountLoginForm.vue @@ -98,7 +98,6 @@ function trySubmit() { defineExpose({ validate, doLogin() { - console.log(modelRef.code, 'code') return accountLogin({ username: modelRef.username, password: passEncrypt(modelRef.password), // 密码加密 diff --git a/src/views/qualityInspectionDistribution/inspectionIndex.vue b/src/views/qualityInspectionDistribution/inspectionIndex.vue index d44ff9a..ebf056a 100644 --- a/src/views/qualityInspectionDistribution/inspectionIndex.vue +++ b/src/views/qualityInspectionDistribution/inspectionIndex.vue @@ -27,7 +27,7 @@ - +