|
@@ -114,29 +114,29 @@ export default defineComponent({
|
|
|
|
|
|
if (state.subjectCounts) {
|
|
|
state.activeTab = 'SUBJECT'
|
|
|
- } else if (state.ensembleCounts) {
|
|
|
- state.activeTab = 'ENSEMBLE'
|
|
|
} else if (state.musicCounts) {
|
|
|
state.activeTab = 'MUSIC'
|
|
|
+ } else if (state.ensembleCounts) {
|
|
|
+ state.activeTab = 'ENSEMBLE'
|
|
|
}
|
|
|
// 带的参数
|
|
|
if (route.query.subjectType == 'SUBJECT' && state.subjectCounts) {
|
|
|
state.activeTab = 'SUBJECT'
|
|
|
+ } else if (route.query.subjectType == 'MUSIC' && state.musicCounts) {
|
|
|
+ state.activeTab = 'MUSIC'
|
|
|
} else if (
|
|
|
route.query.subjectType == 'ENSEMBLE' &&
|
|
|
state.ensembleCounts
|
|
|
) {
|
|
|
state.activeTab = 'ENSEMBLE'
|
|
|
- } else if (route.query.subjectType == 'MUSIC' && state.musicCounts) {
|
|
|
- state.activeTab = 'MUSIC'
|
|
|
}
|
|
|
// subjectType 缓存
|
|
|
if (subjectType == 'SUBJECT' && state.subjectCounts) {
|
|
|
state.activeTab = 'SUBJECT'
|
|
|
- } else if (subjectType == 'ENSEMBLE' && state.ensembleCounts) {
|
|
|
- state.activeTab = 'ENSEMBLE'
|
|
|
} else if (subjectType == 'MUSIC' && state.musicCounts) {
|
|
|
state.activeTab = 'MUSIC'
|
|
|
+ } else if (subjectType == 'ENSEMBLE' && state.ensembleCounts) {
|
|
|
+ state.activeTab = 'ENSEMBLE'
|
|
|
}
|
|
|
} catch {
|
|
|
//
|