|
@@ -262,14 +262,18 @@ export default defineComponent({
|
|
|
<MusicGrid
|
|
|
list={data.value.rows}
|
|
|
onGoto={(n: any) => {
|
|
|
+ const subjects =
|
|
|
+ baseState.platformType === 'TEACHER'
|
|
|
+ ? teacherDetaultSubject.value
|
|
|
+ : subject
|
|
|
router.push({
|
|
|
name: 'music-album-detail',
|
|
|
params: {
|
|
|
id: n.id
|
|
|
},
|
|
|
query: {
|
|
|
- subjectId: subject.id,
|
|
|
- subjectName: subject.name
|
|
|
+ subjectId: subjects.id,
|
|
|
+ subjectName: subjects.name
|
|
|
}
|
|
|
})
|
|
|
}}
|