|
@@ -102,6 +102,8 @@ export default defineComponent({
|
|
|
if (state.musicCategory.length > 0) {
|
|
|
forms.musicSheetCategoriesId = state.musicCategory[0].id;
|
|
|
}
|
|
|
+ } else {
|
|
|
+ state.musicCategory = [] as any;
|
|
|
}
|
|
|
} else if (type === 'grade') {
|
|
|
state.musicCategory = list || [];
|