浏览代码

Merge branch 'hqyDev' of http://git.dayaedu.com/liushengqiang/classroom-app into jenkins-test

黄琪勇 9 月之前
父节点
当前提交
d7010f183f
共有 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["part-index"])
+            jsonConfig["part-index"] && (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["part-index"])
+          jsonConfig["part-index"] && (staffState.partIndex = jsonConfig["part-index"])
         }catch{
         }
         // 五线谱