Selaa lähdekoodia

fix: 修复自定义版本画像问题

zhangyuhan 3 vuotta sitten
vanhempi
commit
f8a05217f8
1 muutettua tiedostoa jossa 9 lisäystä ja 2 poistoa
  1. 9 2
      src/views/portrayal/components/DynamicList.vue

+ 9 - 2
src/views/portrayal/components/DynamicList.vue

@@ -467,8 +467,15 @@ export default {
       this.isAllFirst = true
       let res = {}
       if (this.userInfo.memberStatus > 0) {
-        if (this.config.isWinner) {//大会员-企业画像
-          res = await getNewMsg(query)
+        if (this.config.isWinner) {
+          // 大会员-企业画像
+          // fix: 新增自定义版大会员判断
+          if (this.userInfo.power.indexOf(13) > -1) {
+            res = await getNewMsg(query)
+          } else {
+            res = await getSvipNewMsg(query)
+          }
+
         } else {//大会员-采购单位画像
           res = await getUnitDt(query)
         }