|
@@ -5,6 +5,7 @@ import Practice from './practice'
|
|
import Personal from './personal'
|
|
import Personal from './personal'
|
|
import Collection from './collection'
|
|
import Collection from './collection'
|
|
import Album from './album'
|
|
import Album from './album'
|
|
|
|
+import AlbumMy from './album-my'
|
|
|
|
|
|
import styles from './index.module.less'
|
|
import styles from './index.module.less'
|
|
import { getRandomKey } from '../music'
|
|
import { getRandomKey } from '../music'
|
|
@@ -43,6 +44,7 @@ export default defineComponent({
|
|
onChange={val => (activeTab.value = val)}
|
|
onChange={val => (activeTab.value = val)}
|
|
>
|
|
>
|
|
<Tab title="我的单曲" name="personal"></Tab>
|
|
<Tab title="我的单曲" name="personal"></Tab>
|
|
|
|
+ <Tab title="我的专辑" name="personal-album"></Tab>
|
|
<Tab title="收藏单曲" name="collection"></Tab>
|
|
<Tab title="收藏单曲" name="collection"></Tab>
|
|
<Tab title="收藏专辑" name="album"></Tab>
|
|
<Tab title="收藏专辑" name="album"></Tab>
|
|
</Tabs>
|
|
</Tabs>
|
|
@@ -54,6 +56,7 @@ export default defineComponent({
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
)}
|
|
)}
|
|
|
|
+ {activeTab.value === 'personal-album' && <AlbumMy />}
|
|
{activeTab.value === 'collection' && (
|
|
{activeTab.value === 'collection' && (
|
|
<Collection
|
|
<Collection
|
|
ref={collection}
|
|
ref={collection}
|