Explorar el Código

fix:bug修复

钱新宇 hace 2 meses
padre
commit
cf6a793bfd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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',