Pārlūkot izejas kodu

Update index.tsx

lex 1 gadu atpakaļ
vecāks
revīzija
561c5fda72
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/courseware-list/component/book/index.tsx

+ 1 - 1
src/views/courseware-list/component/book/index.tsx

@@ -351,7 +351,7 @@ export default defineComponent({
     };
     const handleOpenPlay = async (item: any) => {
       const isUpdate = await checkCoursewareUpdate();
-      if (!isUpdate) {
+      if (isUpdate) {
         reloadStatus.value = true;
         return;
       }