|
@@ -1034,12 +1034,15 @@ export default defineComponent({
|
|
|
|
|
|
// 根据当前选中的声部和曲目筛选出对应的声轨
|
|
|
async function filterSoundCodes() {
|
|
|
+ const { id } = state.list[state.listActive] || {}
|
|
|
+ if (!id) {
|
|
|
+ return undefined
|
|
|
+ }
|
|
|
const { instrumentIds } =
|
|
|
state.subjectList.find((item: any) => {
|
|
|
return item.value === state.subjectId
|
|
|
}) || {}
|
|
|
if (instrumentIds) {
|
|
|
- const { id } = state.list[state.listActive] || {}
|
|
|
// GYM,GYT,KLX 区分 查询声部数据
|
|
|
let cbsDetails: any = []
|
|
|
if (userStoreHook.roles === "GYM") {
|