From f2a54b96c85438c2cc639b1fe52eb9c684fdbd5c Mon Sep 17 00:00:00 2001 From: wangxiang <1827945911@qq.com> Date: Mon, 20 Feb 2023 16:27:33 +0800 Subject: [PATCH] =?UTF-8?q?:rocket:=20=E9=80=82=E9=85=8D=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/userInfo/index.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/system/user/userInfo/index.vue b/src/views/system/user/userInfo/index.vue index 3da2483..d00d12f 100644 --- a/src/views/system/user/userInfo/index.vue +++ b/src/views/system/user/userInfo/index.vue @@ -269,10 +269,7 @@ const { data } = await commonUpload({ file: file.file, name: 'file', - }, (progressEvent: ProgressEvent) => { - const complete = ((progressEvent.loaded / progressEvent.total) * 100) | 0; - if (complete >= 100) state.uploadAvatarLoading = false; - }); + }, () => {}); state.imageUrl = data.url; } finally { state.uploadAvatarLoading = false;