Explorar o código

fix: 修复导入PPT数据时使用错误JSON对象的问题

lsc hai 3 semanas
pai
achega
cc8bcd6620
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/Student/index.vue

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

@@ -2451,7 +2451,7 @@ const getCourseDetail = async () => {
             })
           }
           checkPPTFile(JSON.stringify(jsonObj2, null, 2))
-          importJSON(jsonObj2)
+          importJSON(jsonObj)
         }
         catch (e) {
           console.error('解析pptdata.data失败:', e)