浏览代码

fix(PageOne): 修复记录类型选择逻辑,确保正确渲染跟进卡片

Yannay 2 月之前
父节点
当前提交
fc7c84ea4f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/orderDetailRefactored/components/PageOne.vue

+ 2 - 2
pages/orderDetailRefactored/components/PageOne.vue

@@ -51,10 +51,10 @@
51 51
       </view>
52 52
 
53 53
       <!-- 前端跟进 -->
54
-      <follow-card v-else-if="recordType === 'frontendFollow'" :clue-id="currentClueId" type="4" />
54
+      <follow-card v-if="recordType === 'frontendFollow'" :key="'frontendFollow'" :clue-id="currentClueId" type="4" />
55 55
 
56 56
       <!-- 跟进记录 -->
57
-      <follow-card v-else-if="recordType === 'followRecord'" :clue-id="currentClueId" type="5" />
57
+      <follow-card v-if="recordType === 'followRecord'" :key="'followRecord'" :clue-id="currentClueId" type="5" />
58 58
     </view>
59 59
 
60 60
     <!-- 实物图卡片 -->