소스 검색

fix: 修复全局变量未定义错误 (#587)

forer4433 3 주 전
부모
커밋
08958e2944
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      resources/GDUT/gdut.js

+ 1 - 1
resources/GDUT/gdut.js

@@ -1,7 +1,7 @@
 // 文件: gdut.js
 
 if (typeof Strings === 'undefined') {
-    const Strings = {
+    var Strings = {
         BASE_URL: "https://jxfw.gdut.edu.cn",
         GET_WEEK_COURSES_API_URL: "https://jxfw.gdut.edu.cn/xsgrkbcx!getKbRq.action",
         GET_ALL_COURSES_API_URL: "https://jxfw.gdut.edu.cn/xsgrkbcx!getDataList.action",