skyblued 2 роки тому
батько
коміт
81384dfb6e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/views/coursewarePlay/index.tsx

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

@@ -117,7 +117,7 @@ export default defineComponent({
           `${state.platformApi}/courseSchedule/detail/${route.query.courseId}`
         )
         if (res?.data) {
-          data.isCourse = res.data.status === 'COMPLETE' ? false : true
+          data.isCourse = res.data.status === 'ING' ? true : false
         }
       } catch (e) {
         console.log(e)