Explorar o código

fix: baseSpeed默认速度取值修改

TIANYONG hai 8 meses
pai
achega
359af53998
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/subpages/colexiu/index.tsx

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

@@ -89,6 +89,7 @@ export default defineComponent({
         fingeringWidth.value = width.value as string
         activeType.value = atype.value as object
         detailState.frozenMode = frozenMode.value
+        detailState.baseSpeed = detail.value.playSpeed ? Number(detail.value.playSpeed) : detailState.baseSpeed;
         compulsionEvaluating.value = compulsion.value
         const xml = await useXml(detail.value.xmlFileUrl, detail.value)
         if (!xml.value) {