为用户主页添加强制刷新的按钮

This commit is contained in:
2024-07-04 09:20:42 +08:00
parent 07398bd04d
commit c84d103418
2 changed files with 21 additions and 5 deletions

View File

@@ -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")
}