|
@@ -25,7 +25,6 @@ import OSearch from '@/components/o-search'
|
|
|
import OHeader from '@/components/o-header'
|
|
|
import { getInstrumentName } from '@/constant/instruments'
|
|
|
|
|
|
-const subjectKey = 'accompany-music-list-subject'
|
|
|
export default defineComponent({
|
|
|
name: 'accompany-music-list',
|
|
|
props: {
|
|
@@ -38,6 +37,7 @@ export default defineComponent({
|
|
|
const route = useRoute()
|
|
|
const imgDefault = getImage('icon-music.svg')
|
|
|
const userInfo = ref<any>({})
|
|
|
+ const subjectKey = state.user?.data?.phone || 'accompany-music-list-subject'
|
|
|
const subjectId =
|
|
|
localStorage.getItem(subjectKey) || state.user?.data?.subjectId?.split(',')?.[0] || ''
|
|
|
const data = reactive({
|