From 03e602bbaee807c42a22df05f1f00c558ffe9fa0 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期一, 13 一月 2025 17:27:19 +0800 Subject: [PATCH] 首页跳转日志bug --- Source/plt-web/plt-web-ui/src/views/system/userInfo/userAvatar.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/system/userInfo/userAvatar.vue b/Source/plt-web/plt-web-ui/src/views/system/userInfo/userAvatar.vue index 1ee2aea..37864cc 100644 --- a/Source/plt-web/plt-web-ui/src/views/system/userInfo/userAvatar.vue +++ b/Source/plt-web/plt-web-ui/src/views/system/userInfo/userAvatar.vue @@ -95,11 +95,11 @@ // 鎵撳紑寮瑰嚭灞傜粨鏉熸椂鐨勫洖璋� modalOpened() { this.visible = true; - if (!this.resizeHandler) { - this.resizeHandler = debounce(() => { - this.refresh() - }, 100) - } + // if (!this.resizeHandler) { + // this.resizeHandler = debounce(() => { + // this.refresh() + // }, 100) + // } window.addEventListener("resize", this.resizeHandler) }, // 鍒锋柊缁勪欢 @@ -138,6 +138,7 @@ // 涓婁紶鍥剧墖 uploadImg() { this.$refs.cropper.getCropBlob(data => { + console.log(data); let formData = new FormData(); formData.append("avatarfile", data, this.options.filename); uploadAvatar(formData).then(response => { -- Gitblit v1.9.3