钱新宇 2 mesi fa
parent
commit
cf6a793bfd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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',