Преглед изворни кода

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{
         }
         // 五线谱