소스 검색

样式修改

黄琪勇 8 달 전
부모
커밋
4203ab3d77
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/creation/index-share.tsx
  2. 1 1
      src/views/creation/index.tsx

+ 1 - 1
src/views/creation/index-share.tsx

@@ -391,7 +391,7 @@ export default defineComponent({
             const jsonConfig = JSON.parse(res.data.jsonConfig)
             jsonConfig.speedRate && (staffState.speedRate = jsonConfig.speedRate)
             jsonConfig.musicRenderType && (staffState.musicRenderType = jsonConfig.musicRenderType)
-            jsonConfig.partIndex && (staffState.partIndex = jsonConfig.partIndex)
+            jsonConfig.partIndex && (staffState.partIndex = jsonConfig["part-index"])
           }catch{
           }
           // 五线谱

+ 1 - 1
src/views/creation/index.tsx

@@ -546,7 +546,7 @@ export default defineComponent({
           const jsonConfig = JSON.parse(res.data.jsonConfig)
           jsonConfig.speedRate && (staffState.speedRate = jsonConfig.speedRate)
           jsonConfig.musicRenderType && (staffState.musicRenderType = jsonConfig.musicRenderType)
-          jsonConfig.partIndex && (staffState.partIndex = jsonConfig.partIndex)
+          jsonConfig.partIndex && (staffState.partIndex = jsonConfig["part-index"])
         }catch{
         }
         // 五线谱