소스 검색

课件返回问题

skyblued 2 년 전
부모
커밋
5beb8af94b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/coursewarePlay/index.tsx

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

@@ -301,6 +301,7 @@ export default defineComponent({
       } catch (error) {}
       if (route.query.source == 'my-course') {
         router.back()
+        return
       }
       postMessage({ api: 'goBack' })
     }