瀏覽代碼

fix: 超级订阅企业画像中标动态调整

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 11 月之前
父節點
當前提交
3dcfa96fa3
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      apps/bigmember_pc/src/views/portrayal/components/DynamicList.vue

+ 7 - 1
apps/bigmember_pc/src/views/portrayal/components/DynamicList.vue

@@ -1018,8 +1018,14 @@ export default {
       this.getList()
       this.$nextTick(() => {
         // info-list-card
+        console.log(this.config.isWinner, 'this.config.isWinner');
         if(this.config.isWinner) {
-          scrollTargetView('#project-information')
+          const dom = document.getElementById('project-information')
+          if(dom) {
+            scrollTargetView('#project-information')
+          } else {
+            scrollTargetView('.Dynamic')
+          }
         } else {
           scrollTargetView('.info-list-card')
         }