Skip to content

Commit

Permalink
feat: 增加路由切换动画
Browse files Browse the repository at this point in the history
  • Loading branch information
zhufengfj committed Aug 18, 2022
1 parent b9665a3 commit 2169122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function openUserList() {
</n-layout-header>
<n-layout-content class="main-content" embedded>
<router-view v-slot="{ Component }">
<component :is="Component"></component>
<component class="animate__animated animate__fadeIn" :is="Component"></component>
</router-view>
<div class="empty-route-body" v-if="!currentMenuRoute">
<n-empty size="huge" description="还没打开页面呐 ~">
Expand Down

1 comment on commit 2169122

@vercel
Copy link

@vercel vercel bot commented on 2169122 Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.