skyblued 2 년 전
부모
커밋
3eb699eb9b
3개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 1
      src/teacher/screen-projection/index.tsx
  2. 2 1
      src/views/courseList/index.tsx
  3. 1 4
      src/views/lessonCourseware/index.tsx

+ 2 - 1
src/teacher/screen-projection/index.tsx

@@ -101,7 +101,8 @@ export default defineComponent({
             })}
           </CellGroup>
         </div>
-        {!data.loading && !data.knowledgePointList.length && <OEmpty />}
+        {!data.loading && !data.knowledgePointList.length && <OEmpty tips='暂无内容' />}
+        
 
         <Button class={styles.playBtn} block type="primary" round onClick={() => hanldeOpenPlay()}>
           播放课件

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

@@ -13,6 +13,7 @@ import {
 import iconLook from './image/look.svg'
 import iconCourse from './image/icon-course.png'
 import { browser } from '@/helpers/utils'
+import OEmpty from '@/components/o-empty'
 export default defineComponent({
   name: 'lessonCourseware',
   setup() {
@@ -213,7 +214,7 @@ export default defineComponent({
         {/* <Button onClick={() => {
           location.href = 'http://192.168.3.114:1000/teacher.html#/coursewarePlay?id=1613426640725217281'
         }}>胜强测试老师端</Button> */}
-        {!data.loading && !data.list.length && <Empty description="空空如也" />}
+        {!data.loading && !data.list.length && <OEmpty tips='暂无内容' />}
       </div>
     )
   }

+ 1 - 4
src/views/lessonCourseware/index.tsx

@@ -91,10 +91,7 @@ export default defineComponent({
             )
           })}
         </Grid>
-        {/* <Button onClick={() => {
-          location.href = 'http://192.168.3.114:1000/teacher.html#/courseList?id=1610595624868495362'
-        }}>胜强测试</Button>
-        {!data.loading && !data.list.length && <OEmpty tips="没有课件" />} */}
+        {!data.loading && !data.list.length && <OEmpty tips="没有课件" />} 
       </div>
     )
   }