Explorar o código

feat: ts报错修改

TIANYONG hai 7 meses
pai
achega
30565e66e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/music/music-detail/index.tsx

+ 1 - 1
src/views/music/music-detail/index.tsx

@@ -1156,7 +1156,7 @@ export default defineComponent({
                         // )
                         // 新版云教练的谱面类型使用musicRenderType字段
                         const musicRenderType = staff.radio === 'staff' ? 'staff' : staff.radio === 'first' ? 'firstTone' :  staff.radio === 'fixed' ? 'fixedTone' : '';
-                        let extraParam = {
+                        let extraParam: any = {
                           'part-index': item?.xmlValue || 0,
                           musicRenderType,
                         }