Explorar o código

Update index.tsx

lex-xin hai 5 meses
pai
achega
995085001f
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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) => {