From 5bb3c756080e18f6407c3fb6ff5c8412f0b4006e Mon Sep 17 00:00:00 2001 From: daihh Date: Thu, 13 Oct 2022 17:12:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=90=8D=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/authorImg.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Portal/authorImg.vue b/src/components/Portal/authorImg.vue index 91c2d897..1d59e3ae 100644 --- a/src/components/Portal/authorImg.vue +++ b/src/components/Portal/authorImg.vue @@ -65,14 +65,13 @@ this.userName=newVal; }, avatar(newVal,oldVal){ - console.log(newVal,'222') if(newVal){ - if(newVal.startWith('http')){ + if(newVal.startsWith('http')){ this.userAvatar=newVal; }else{ this.userAvatar=this.baseUrl+newVal; } - + } }, sex(newVal,oldVal){ @@ -97,7 +96,7 @@ } .uavatar{ // border: 1px solid #73adfe; - width: 100%; + width: 100%; height: 100%; // background: #d9e9ff; display: flex;