Ver Fonte

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

lsc há 3 meses atrás
pai
commit
cc8bcd6620
1 ficheiros alterados com 1 adições e 1 exclusões
  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))
           checkPPTFile(JSON.stringify(jsonObj2, null, 2))
-          importJSON(jsonObj2)
+          importJSON(jsonObj)
         }
         }
         catch (e) {
         catch (e) {
           console.error('解析pptdata.data失败:', e)
           console.error('解析pptdata.data失败:', e)