|  | @@ -329,52 +329,50 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              page: 1,
 | 
	
		
			
				|  |  |              parentId: 0,
 | 
	
		
			
				|  |  |              rows: 10
 | 
	
		
			
				|  |  | -         })
 | 
	
		
			
				|  |  | -            .then(res => {
 | 
	
		
			
				|  |  | -               loading.value = false
 | 
	
		
			
				|  |  | -               if (res.code === 200) {
 | 
	
		
			
				|  |  | -                  const result = res.data || []
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -                  const tempList: any = []
 | 
	
		
			
				|  |  | -                  result.forEach((item: any) => {
 | 
	
		
			
				|  |  | -                     if (item.musicNum > 0) {
 | 
	
		
			
				|  |  | -                        const subjectCounts = item.subjectCounts ? true : false
 | 
	
		
			
				|  |  | -                        const musicCounts = item.musicCounts ? true : false
 | 
	
		
			
				|  |  | -                        const ensembleCounts = item.ensembleCounts ? true : false
 | 
	
		
			
				|  |  | -                        const list: any = []
 | 
	
		
			
				|  |  | -                        if (subjectCounts) {
 | 
	
		
			
				|  |  | -                           list.push({
 | 
	
		
			
				|  |  | -                              label: "基础云练",
 | 
	
		
			
				|  |  | -                              value: "SUBJECT"
 | 
	
		
			
				|  |  | -                           })
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (musicCounts) {
 | 
	
		
			
				|  |  | -                           list.push({
 | 
	
		
			
				|  |  | -                              label: "独奏云练",
 | 
	
		
			
				|  |  | -                              value: "MUSIC"
 | 
	
		
			
				|  |  | -                           })
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        if (ensembleCounts) {
 | 
	
		
			
				|  |  | -                           list.push({
 | 
	
		
			
				|  |  | -                              label: "合奏云练",
 | 
	
		
			
				|  |  | -                              value: "ENSEMBLE"
 | 
	
		
			
				|  |  | -                           })
 | 
	
		
			
				|  |  | -                        }
 | 
	
		
			
				|  |  | -                        tempList.push({
 | 
	
		
			
				|  |  | -                           value: item.id,
 | 
	
		
			
				|  |  | -                           label: item.name,
 | 
	
		
			
				|  |  | -                           musicSheetCategoriesList: list
 | 
	
		
			
				|  |  | +         }).then(async res => {
 | 
	
		
			
				|  |  | +            loading.value = false
 | 
	
		
			
				|  |  | +            if (res.code === 200) {
 | 
	
		
			
				|  |  | +               const result = res.data || []
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +               const tempList: any = []
 | 
	
		
			
				|  |  | +               result.forEach((item: any) => {
 | 
	
		
			
				|  |  | +                  if (item.musicNum > 0) {
 | 
	
		
			
				|  |  | +                     const subjectCounts = item.subjectCounts ? true : false
 | 
	
		
			
				|  |  | +                     const musicCounts = item.musicCounts ? true : false
 | 
	
		
			
				|  |  | +                     const ensembleCounts = item.ensembleCounts ? true : false
 | 
	
		
			
				|  |  | +                     const list: any = []
 | 
	
		
			
				|  |  | +                     if (subjectCounts) {
 | 
	
		
			
				|  |  | +                        list.push({
 | 
	
		
			
				|  |  | +                           label: "基础云练",
 | 
	
		
			
				|  |  | +                           value: "SUBJECT"
 | 
	
		
			
				|  |  |                          })
 | 
	
		
			
				|  |  |                       }
 | 
	
		
			
				|  |  | -                  })
 | 
	
		
			
				|  |  | -                  state.categoryList = tempList
 | 
	
		
			
				|  |  | +                     if (musicCounts) {
 | 
	
		
			
				|  |  | +                        list.push({
 | 
	
		
			
				|  |  | +                           label: "独奏云练",
 | 
	
		
			
				|  |  | +                           value: "MUSIC"
 | 
	
		
			
				|  |  | +                        })
 | 
	
		
			
				|  |  | +                     }
 | 
	
		
			
				|  |  | +                     if (ensembleCounts) {
 | 
	
		
			
				|  |  | +                        list.push({
 | 
	
		
			
				|  |  | +                           label: "合奏云练",
 | 
	
		
			
				|  |  | +                           value: "ENSEMBLE"
 | 
	
		
			
				|  |  | +                        })
 | 
	
		
			
				|  |  | +                     }
 | 
	
		
			
				|  |  | +                     tempList.push({
 | 
	
		
			
				|  |  | +                        value: item.id,
 | 
	
		
			
				|  |  | +                        label: item.name,
 | 
	
		
			
				|  |  | +                        musicSheetCategoriesList: list
 | 
	
		
			
				|  |  | +                     })
 | 
	
		
			
				|  |  | +                  }
 | 
	
		
			
				|  |  | +               })
 | 
	
		
			
				|  |  | +               state.categoryList = tempList
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -                  setDefaultData()
 | 
	
		
			
				|  |  | -               }
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | -            .catch(() => {
 | 
	
		
			
				|  |  | +               await setDefaultData()
 | 
	
		
			
				|  |  | +            } else {
 | 
	
		
			
				|  |  |                 state.finshed = true
 | 
	
		
			
				|  |  | -            })
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +         })
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        const handleGetSubject_klx = async () => {
 |