浏览代码

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

黄琪勇 5 月之前
父节点
当前提交
eb903cfde2
共有 2 个文件被更改,包括 2 次插入2 次删除
  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()