fix:登录检测问题
此提交包含在:
@@ -19,6 +19,8 @@ async function updateBx() {
|
||||
if (resp.data.aaData.length) {
|
||||
JsonCourseList.bx.length = 0
|
||||
JsonCourseList.bx.push(...resp.data.aaData)
|
||||
} else {
|
||||
throw new Error(resp.data)
|
||||
}
|
||||
} catch (_e) {
|
||||
console.log('获取必修JsonList失败 at ' + getTimeNow())
|
||||
@@ -32,6 +34,8 @@ async function updateXx() {
|
||||
if (resp.data.aaData.length) {
|
||||
JsonCourseList.xx.length = 0
|
||||
JsonCourseList.xx.push(...resp.data.aaData)
|
||||
} else {
|
||||
throw new Error(resp.data)
|
||||
}
|
||||
} catch (_e) {
|
||||
console.log('获取限选JsonList失败 at ' + getTimeNow())
|
||||
@@ -45,6 +49,8 @@ async function updateRx() {
|
||||
if (resp.data.aaData.length) {
|
||||
JsonCourseList.rx.length = 0
|
||||
JsonCourseList.rx.push(...resp.data.aaData)
|
||||
} else {
|
||||
throw new Error(resp.data)
|
||||
}
|
||||
} catch (_e) {
|
||||
console.log('获取任选JsonList失败 at ' + getTimeNow())
|
||||
|
新增問題並參考
封鎖使用者