浏览代码

Update index.tsx

lex-xin 5 月之前
父节点
当前提交
995085001f
共有 1 个文件被更改,包括 4 次插入1 次删除
  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) => {