소스 검색

feat: ts报错修改

TIANYONG 7 달 전
부모
커밋
30565e66e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,
                         }