浏览代码

课件签退,点名

skyblued 2 年之前
父节点
当前提交
7356eed657
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/views/courseList/index.tsx
  2. 1 1
      src/views/coursewarePlay/index.tsx

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

@@ -115,15 +115,15 @@ export default defineComponent({
             )
           })}
         </Grid>
-        <Button
+        {!data.list.length && <Empty description="空空如也" />}
+        {/* <Button
           onClick={() => {
             location.href =
               'http://192.168.3.114:1000/teacher.html#/coursewarePlay?id=1610595720511209474&courseId=1612270880549044226'
           }}
         >
           测试
-        </Button>
-        {!data.list.length && <Empty description="空空如也" />}
+        </Button> */}
       </div>
     )
   }

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

@@ -185,7 +185,7 @@ export default defineComponent({
           action: 'app',
           pageTag: pageTag,
           url: '',
-          params: { courseId: route.query.courseId }
+          params: JSON.stringify({ courseId: route.query.courseId })
         }
       })
     }