Skip to content

Commit b5e8298

Browse files
fix(plugins/score): 修复了成绩相关工具有时不能使用的bug
1 parent 0ab424c commit b5e8298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/actions/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function getThisTermScoresDataURL(): Promise<string> {
5151
}
5252

5353
export async function getAllPassingScoresURL(): Promise<string> {
54-
const referralUrl = 'student/integratedQuery/scoreQuery/allPassingScores/index'
54+
const referralUrl = '/student/integratedQuery/scoreQuery/allPassingScores/index'
5555
const referralPageHTML = await getPageHTML(referralUrl)
5656
const r = /scoreQuery\/(.+?)\/allPassingScores/.exec(referralPageHTML)
5757
if (!r) {

0 commit comments

Comments
 (0)