|
@@ -655,6 +655,9 @@ export default defineComponent({
|
|
|
name: item.label
|
|
|
}
|
|
|
})
|
|
|
+
|
|
|
+ state.levelId = null
|
|
|
+ state.typeId = -1
|
|
|
}
|
|
|
|
|
|
if (storeData.value.length > 0 && !["level", "type"].includes(type as any)) {
|
|
@@ -688,6 +691,8 @@ export default defineComponent({
|
|
|
const handleGetList = async () => {
|
|
|
if (loading.value) return
|
|
|
state.listActive = 0
|
|
|
+ state.selectedPartIndex = 0
|
|
|
+ state.partXmlIndex = 0
|
|
|
state.showPlayer = false
|
|
|
state.playState = "pause"
|
|
|
state.partNames = []
|
|
@@ -724,7 +729,6 @@ export default defineComponent({
|
|
|
})
|
|
|
// 初始化数据
|
|
|
const defaultShowStaff = partColumns.value[state.selectedPartIndex]
|
|
|
- console.log(defaultShowStaff, partList)
|
|
|
state.selectedPartName = defaultShowStaff?.instrumentName
|
|
|
state.partXmlIndex = defaultShowStaff?.xmlIndex
|
|
|
}
|