feat: 功能完善: 订单模块的button切边、评论自动跳转、详情页进入个人页前置判断、详情分享卡片取值问题以及部分样式问题
This commit is contained in:
@@ -54,7 +54,7 @@ export interface ToggleLikeType {
|
||||
class CommentService {
|
||||
// 查询评论列表
|
||||
async getComments(req: { game_id: number, page: number, pageSize: number }): Promise<ApiResponse<CommentResponse>> {
|
||||
return httpService.post("/comments/list", req, { showLoading: true });
|
||||
return httpService.post("/comments/list", req, { showLoading: false });
|
||||
}
|
||||
|
||||
// 发表评论
|
||||
|
||||
@@ -106,7 +106,7 @@ class GameDetailService {
|
||||
"/games/detail",
|
||||
{ id },
|
||||
{
|
||||
showLoading: true,
|
||||
showLoading: false,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ class EvaluateService {
|
||||
|
||||
// 获取最后一次(最新)测试结果
|
||||
async getLastResult(): Promise<ApiResponse<LastTimeTestResult>> {
|
||||
return httpService.post("/ntrp/last_result", {}, { showLoading: true });
|
||||
return httpService.post("/ntrp/last_result", {}, { showLoading: false });
|
||||
}
|
||||
|
||||
// 更新NTRP等级
|
||||
|
||||
Reference in New Issue
Block a user