3 次代码提交 35b234f234 ... bf4bd84dd1

作者 SHA1 备注 提交日期
  liushengqiang bf4bd84dd1 Merge branch 'jenkins-main' of http://git.dayaedu.com/lex/orchestra-app into jenkins-main 1 年之前
  liushengqiang 48614c7350 Merge branch '2023-9-21_免费' into jenkins-main 1 年之前
  liushengqiang 390a1f634c fix 1 年之前
共有 1 个文件被更改,包括 4 次插入3 次删除
  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