liushengqiang 1 year ago
parent
commit
0a68bc8ee7

+ 0 - 1
src/pages/detail/tick-popup/index.tsx

@@ -33,7 +33,6 @@ export default defineComponent({
       <Popup
         show={state.activeTick > -1}
         closeable
-        close-icon-position="bottom-right"
         onClickCloseIcon={() => {
           RunTimeUtils.stopTick()
           this.sendMessage()

+ 1 - 1
src/subpages/colexiu/buttons/index.tsx

@@ -117,7 +117,7 @@ export default defineComponent({
   name: 'Colexiu-Buttons',
   props: {
     onSetMusicScoreType: {
-      type: Function,
+      type: Object,
       default: (n: any) => {},
     },
   },

+ 2 - 0
src/subpages/colexiu/index.d.ts

@@ -62,6 +62,8 @@ export type MusicSheelDetail = {
   musicFirstSvg?: string
   /**后台曲谱设置的速度 */
   playSpeed?: number
+  /** 曲谱类型 */
+  musicSheetType?: string
 }
 
 export type ShaeetStatusType = 'loading' | 'error' | 'success'

+ 1 - 1
src/subpages/colexiu/uses/use-app.ts

@@ -105,7 +105,7 @@ export const useMp3s = async (detail: MusicSheelDetail) => {
     SettingState.sett.scoreSize = setZoom
   }
 
-  detailState.needTick = (detail.audioType === 'MP3' && detail.mp3Type === 'MP3') || detail.audioType === 'MIDI'
+  detailState.needTick = (detail.audioType === 'MP3' && detail.mp3Type === 'MP3' && detail.musicSheetType != 'CONCERT' ) || detail.audioType === 'MIDI'
   detailState.skipTick = detailState.activeDetail.extConfigJson.skipTick
   detailState.repeatedBeats = detailState.activeDetail.extConfigJson.repeatedBeats
   if (!runtime.songs['music']) {