From c3bc7892dc7697e31bb7d6bb9af9d835671ea549 Mon Sep 17 00:00:00 2001 From: reco_luan Date: Sun, 15 Mar 2020 15:35:10 +0800 Subject: [PATCH] fix: comment load animation --- components/Common.vue | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/components/Common.vue b/components/Common.vue index 3cd043a..81e8a53 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -34,7 +34,9 @@
- + + +
@@ -65,7 +67,9 @@
- + + +
@@ -80,9 +84,13 @@ import Sidebar from '@theme/components/Sidebar' import { resolveSidebarItems } from '@theme/helpers/utils' import Password from '@theme/components/Password' import { setTimeout } from 'timers' +import ModuleTransition from '@theme/components/ModuleTransition' +import moduleTransitonMixin from '@theme/mixins/moduleTransiton' export default { - components: { Sidebar, Navbar, Password }, + mixins: [moduleTransitonMixin], + + components: { Sidebar, Navbar, Password, ModuleTransition }, props: { sidebar: {