|  | @@ -442,9 +442,20 @@ export default defineComponent({
 | 
											
												
													
														|  |          const { data } = await musicSheetCategoriesQueryTree({})
 |  |          const { data } = await musicSheetCategoriesQueryTree({})
 | 
											
												
													
														|  |          // state.musicSheetCategories = filterPointCategory(data, 'musicSheetCategoriesList')
 |  |          // state.musicSheetCategories = filterPointCategory(data, 'musicSheetCategoriesList')
 | 
											
												
													
														|  |          state.musicSheetCategories = data || []
 |  |          state.musicSheetCategories = data || []
 | 
											
												
													
														|  | 
 |  | +        clearEmptyMusicCategory(state.musicSheetCategories)
 | 
											
												
													
														|  |        } catch (e) {}
 |  |        } catch (e) {}
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +    const clearEmptyMusicCategory = (data: any) => {
 | 
											
												
													
														|  | 
 |  | +      for (let i = 0; i < data.length; i++) {
 | 
											
												
													
														|  | 
 |  | +        if (data[i].musicSheetCategoriesList.length < 1) {
 | 
											
												
													
														|  | 
 |  | +          data[i].musicSheetCategoriesList = null
 | 
											
												
													
														|  | 
 |  | +        } else {
 | 
											
												
													
														|  | 
 |  | +          clearEmptyMusicCategory(data[i].musicSheetCategoriesList)
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |      // 获取声部
 |  |      // 获取声部
 | 
											
												
													
														|  |      const initSubjectList = async () => {
 |  |      const initSubjectList = async () => {
 | 
											
												
													
														|  |        try {
 |  |        try {
 |