mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
修改动画, 修改搜索
This commit is contained in:
@@ -14,10 +14,9 @@
|
||||
<!-- <keep-alive>
|
||||
<component :is="Component" v-if="$route.meta.keepAlive" />
|
||||
</keep-alive>
|
||||
<component :is="Component" v-if="!$route.meta.keepAlive" /> -->
|
||||
<keep-alive>
|
||||
<component :is="Component"/>
|
||||
</keep-alive>
|
||||
<component :is="Component" v-if="!$route.meta.keepAlive" />-->
|
||||
|
||||
<component :is="Component" />
|
||||
</router-view>
|
||||
</n-message-provider>
|
||||
</n-layout>
|
||||
@@ -34,7 +33,7 @@ import type { SongResult } from '@/type/music';
|
||||
import { computed } from 'vue';
|
||||
import { useStore } from 'vuex';
|
||||
// import { AppMenu, PlayBar, SearchBar } from './components';
|
||||
import {defineAsyncComponent} from 'vue';
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
const AppMenu = defineAsyncComponent(() => import('./components/AppMenu.vue'));
|
||||
const PlayBar = defineAsyncComponent(() => import('./components/PlayBar.vue'));
|
||||
const SearchBar = defineAsyncComponent(() => import('./components/SearchBar.vue'));
|
||||
|
||||
Reference in New Issue
Block a user