liushengqiang 1 년 전
부모
커밋
44d943352b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/courseList/index.tsx

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

@@ -323,7 +323,7 @@ export default defineComponent({
               <div key="list" class={styles.periodList}>
                 <CellGroup inset>
                   {data.list.map((item: any) => {
-                    const isLock =
+                    const isLock = String(item.accessScope) === '0' ||
                       item.lockFlag ||
                       ((route.query.code == 'select' || state.platformType == 'STUDENT') &&
                         !item.unlock)