Browse Source

Merge branch 'hqyDev' of http://git.dayaedu.com/yonge/mteacher into jenkins

黄琪勇 5 months ago
parent
commit
eb903cfde2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/creation/index-shareRoute.vue
  2. 1 1
      src/views/creation/index.vue

+ 1 - 1
src/views/creation/index-shareRoute.vue

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

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

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