Jelajahi Sumber

Update index.tsx

lex 1 tahun lalu
induk
melakukan
561c5fda72
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;
       }