Explorar o código

未解锁的课时

skyblued %!s(int64=2) %!d(string=hai) anos
pai
achega
2a700721fb
Modificáronse 1 ficheiros con 1 adicións e 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>