Browse Source

Merge branch 'jenkins-main' of http://git.dayaedu.com/lex/orchestra-app into jenkins-main

lex 1 year ago
parent
commit
6f77a64015
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/courseList/index.tsx

+ 4 - 3
src/views/courseList/index.tsx

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