问题修改

This commit is contained in:
lixiao 2025-04-25 16:26:18 +08:00
parent df6ca8d40f
commit cb9ea64d9b
2 changed files with 1 additions and 2 deletions

View File

@ -458,7 +458,7 @@ struct Index {
const examItems: string = currentParams?.examItems?.[1] || "";
const nightScoreArr = examItems?.split(",").filter(item => item) || []
const ddxkKfArr = kfItems.split(";")?.[3]?.split('^').filter(item => item) || []
console.log("lixiao, goDdxkItems", JSON.stringify(nightScoreArr), JSON.stringify(ddxkKfArr))
console.log("lixiao, goDdxkItems", JSON.stringify(nightScoreArr), JSON.stringify(examItems))
nightScoreArr.forEach((kf, index) => {
this.isYkkf = true
let xmdm = '';

View File

@ -925,7 +925,6 @@ struct UserInfo {
console.log("lixiao mode", this.mode)
let score = Number(this.currentUser.jdxx?.split("^")[0])
let kfxm = this.currentUser.jdxx?.split("^")[1]
let length = Number(this.currentUser.jdxx?.split("^")[2])
if (this.mode === 2 && !this.currentUser.jdxx) {
promptAction.showToast({
message: "当前尚未进行白考,无法开始夜考!"