浏览代码

fixed: 海报头像显示问题

xiebaomin 1 年之前
父节点
当前提交
ce5e879f52
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 // 用户手机号