Przeglądaj źródła

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

lsc 1 miesiąc temu
rodzic
commit
cc8bcd6620
1 zmienionych plików z 1 dodań i 1 usunięć
  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)