Browse Source

Update index.tsx

lex-xin 1 month ago
parent
commit
995085001f
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/courseware-list/index.tsx

+ 4 - 1
src/views/courseware-list/index.tsx

@@ -172,8 +172,11 @@ export default defineComponent({
       handleCreateContainer(item.key);
       handleRender(() => {
         data.showBook = true;
-        data.showBookLock = false;
       });
+
+      setTimeout(() => {
+        data.showBookLock = false;
+      }, 36);
     };
 
     const handleCreateContainer = (id: string) => {