Sfoglia il codice sorgente

fixed: 海报头像显示问题

xiebaomin 1 anno fa
parent
commit
ce5e879f52
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      components/cm-share-popup/cm-share-popup.vue

+ 1 - 1
components/cm-share-popup/cm-share-popup.vue

@@ -66,7 +66,7 @@ export default {
     methods: {
         async getUserInfo() {
             const { data } = await this.SellerService.GetSellerHome({ userId: this.userInfo.userId })
-            this.posterData.image = this.posterData.image.length > 12 ? this.posterData.image : 'https://static.caimei365.com/app/img/icon/default-head-new.png' // 用户头像
+            this.posterData.image = data.image.length > 22 ? data.image : 'https://static.caimei365.com/app/img/icon/default-head-new.png' // 用户头像
             this.posterData.qrCode = data.qrCode // 用户二维码
             this.posterData.linkMan = data.linkMan // 用户名
             this.posterData.contractMobile = data.contractMobile // 用户手机号