Browse Source

Update index.tsx

lex 1 năm trước cách đây
mục cha
commit
561c5fda72
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
       }