From c84d10341827b9202b4d72c135432637bf0b6790 Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Thu, 4 Jul 2024 09:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E7=94=A8=E6=88=B7=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BC=BA=E5=88=B6=E5=88=B7=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/oj/api.ts | 4 ++++ src/oj/user/index.vue | 22 +++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/oj/api.ts b/src/oj/api.ts index 4618bd3..e538d8d 100644 --- a/src/oj/api.ts +++ b/src/oj/api.ts @@ -208,3 +208,7 @@ export function getComment(problemID: number) { export function getCommentStatistics(problemID: number) { return http.get("comment/statistics", { params: { problem_id: problemID } }) } + +export function refreshUserProblemDisplayIds() { + return http.get("profile/fresh_display_id") +} diff --git a/src/oj/user/index.vue b/src/oj/user/index.vue index 0520e90..b98c71e 100644 --- a/src/oj/user/index.vue +++ b/src/oj/user/index.vue @@ -1,6 +1,7 @@