Explorar el Código

fix: DimensionProductList activeChildId为空时跳过渲染

liaoxg hace 1 mes
padre
commit
9d5b464508
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cfc-frontend/pages/body/index.vue

+ 1 - 1
cfc-frontend/pages/body/index.vue

@@ -143,7 +143,7 @@
 
     <!-- 商品推荐 -->
     <DimensionProductList
-      v-if="isLoggedIn"
+      v-if="isLoggedIn && activeChildId"
       dimensionCode="body"
       :familyId="activeChildId"
       title="为你推荐" />