From 0223401f374cd19727884d6b6d17c40ab46b8f36 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Wed, 22 Feb 2023 13:25:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=BF=A1=E6=81=AF=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=20=E4=BF=AE=E6=94=B9=E5=A4=B4=E5=83=8F=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/my.vue | 2 +- pages/home/personalInfo.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/home/my.vue b/pages/home/my.vue index 39690a1..0a4df33 100644 --- a/pages/home/my.vue +++ b/pages/home/my.vue @@ -52,7 +52,7 @@ - + {{$store.getters.userInfo.realname}} diff --git a/pages/home/personalInfo.vue b/pages/home/personalInfo.vue index 7880b6c..83ae745 100644 --- a/pages/home/personalInfo.vue +++ b/pages/home/personalInfo.vue @@ -67,13 +67,12 @@ import request,{host} from '@/common/request' success:async e=>{ if(/ok/.test(e.errMsg)){ var res=await request("/sys/common/upload",{ - file:e.tempFiles[0], + filePath:e.tempFiles[0].path, body:{ biz: "temp" } }) if(res.statu){ var userInfo=await request("/sys/user/editor",{ method:"post", - suffix:"/jeecgboot", body:{ avatar:res.data, id: this.$store.getters['userInfo'].id