Browse Source

Update index.tsx

lex 1 year ago
parent
commit
561c5fda72
1 changed files with 1 additions and 1 deletions
  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;
       }