Skip to content

Commit

Permalink
[*] 加载时背景色跟随主题
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Oct 11, 2024
1 parent 96b7401 commit 259aae6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
<loading-bar />
<the-dialog />
<notification />
<div v-if="loading" class="load-container">
<n-spin></n-spin>
</div>
<n-layout>
<n-layout v-show="loading">
<n-el class="load-container">
<n-spin></n-spin>
</n-el>
</n-layout>
<n-layout v-show="!loading">
<user-info />
<n-layout-header :inverted="false" bordered>
<the-header />
Expand Down

0 comments on commit 259aae6

Please sign in to comment.