瀏覽代碼

课后训练恢复app

skyblued 2 年之前
父節點
當前提交
9e6eb7ca38
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/views/exercise-after-class/index.tsx

+ 3 - 3
src/views/exercise-after-class/index.tsx

@@ -278,13 +278,13 @@ export default defineComponent({
               })
             }
             if (nextItem?.type === materialType.曲目) {
-              goback()
-               const parmas = qs.stringify({
+              handleInit(1)
+              const parmas = qs.stringify({
                 id: nextItem.content,
                 courseScheduleId: query.courseScheduleId,
                 lessonTrainingId: query.lessonTrainingId,
                 materialId: nextItem.materialId
-               })
+              })
               let src = `${location.origin}/orchestra-music-score/?` + parmas
               // console.log("🚀 ~ src", src)
               postMessage({