소스 검색

fix:bug修复

钱新宇 2 달 전
부모
커밋
cf6a793bfd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/video/index.vue

+ 1 - 1
pages/video/index.vue

@@ -117,7 +117,7 @@ export default {
     },
 
     goExam(id, report_id, status) {
-      if (status < 0) {
+      if (status !== 1) {
         uni.showToast({
           title: '请先完成课程再来答题吧',
           icon: 'none',