Kaynağa Gözat

修改头像显示问题

Alex 4 yıl önce
ebeveyn
işleme
dcae76d41e

+ 1 - 1
src/views/system/appUser/detail/appUserAvatar.vue

@@ -6,7 +6,7 @@
         <el-col :xs="24" :md="12" :style="{height: '350px'}">
           <vue-cropper
             ref="cropper"
-            :img="options.img"
+            :img="baseUrl+options.img"
             :info="true"
             :autoCrop="options.autoCrop"
             :autoCropWidth="options.autoCropWidth"

+ 1 - 1
src/views/system/family/detail/familyAvatar.vue

@@ -6,7 +6,7 @@
         <el-col :xs="24" :md="12" :style="{height: '350px'}">
           <vue-cropper
             ref="cropper"
-            :img="options.img"
+            :img="baseUrl+options.img"
             :info="true"
             :autoCrop="options.autoCrop"
             :autoCropWidth="options.autoCropWidth"

+ 1 - 1
src/views/system/personalPage/detail/personalAvatar.vue

@@ -6,7 +6,7 @@
         <el-col :xs="24" :md="12" :style="{height: '350px'}">
           <vue-cropper
             ref="cropper"
-            :img="options.img"
+            :img="baseUrl+options.img"
             :info="true"
             :autoCrop="options.autoCrop"
             :autoCropWidth="options.autoCropWidth"