Browse Source

给延迟

1
mo 1 năm trước cách đây
mục cha
commit
d85ad8ecf1
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/views/prepare-lessons/index.tsx

+ 4 - 1
src/views/prepare-lessons/index.tsx

@@ -32,7 +32,10 @@ export default defineComponent({
           );
         }
       );
-      isEndMounted.value = true
+      setTimeout(() => {
+        isEndMounted.value = true
+      }, 300)
+
     });
 
     // 当前页面离开时