import { Tab, Tabs } from 'vant' import { defineComponent, onMounted, ref } from 'vue' import AlbumList from '../album' import Practice from './practice' import Personal from './personal' import Collection from './collection' import Album from './album' import AlbumMy from './album-my' import bgImg from '../../images/bg-image-1.png' import styles from './index.module.less' import { getRandomKey } from '../music' import { useEventTracking } from '@/helpers/hooks' import TheSticky from '@/components/the-sticky' import ColHeader from '@/components/col-header' import TenantAlbum from './tenant-album' export default defineComponent({ name: 'MusicPersonal', setup() { localStorage.setItem('behaviorId', getRandomKey()) const activeTab = ref('train-course') const personal = ref() const collection = ref() const practice = ref() onMounted(() => { useEventTracking('我的乐谱') }) return () => { return (