Explorar el Código

未解锁的课时

skyblued hace 2 años
padre
commit
2a700721fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/courseList/index.tsx

+ 1 - 1
src/views/courseList/index.tsx

@@ -214,7 +214,7 @@ export default defineComponent({
                     <div class={styles.num}>选择</div>
                   )}
 
-                  {route.query.code == 'select' && !item.unlock && (
+                  {(route.query.code == 'select' || state.platformType == 'STUDENT') && !item.unlock && (
                     <div class={styles.look} onClick={(e: Event) => e.stopPropagation()}>
                       <Icon name={iconLook} /> 未解锁
                     </div>