Explorar o código

Update index.tsx

lex hai 1 ano
pai
achega
561c5fda72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
       }