瀏覽代碼

1、blockly课程无权限的课程不需要显示星星

liyanbo 7 月之前
父節點
當前提交
49c0f179f6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/views/programming/ProgrammingList.vue

+ 1 - 0
src/views/programming/ProgrammingList.vue

@@ -48,6 +48,7 @@
                   <div class="bg-image-container" :style="{ backgroundImage: `url(${courseType.bgImage})` }">
                     <!-- 星星图标 -->
                     <div
+                      v-if="!courseType.isDisabled"
                       v-for="starIndex in 5"
                       :key="starIndex"
                       class="star-icon"