From c60ea798fde400a2d0ad93c7bc77a77e986dc394 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Sat, 4 Jul 2026 20:29:49 +0800 Subject: [PATCH] fix: add robot score --- src/api/rating/pk.js | 2 +- .../rating/pk/list/components/PkVoteEdit.vue | 36 +++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/api/rating/pk.js b/src/api/rating/pk.js index 390784e..2f5e487 100644 --- a/src/api/rating/pk.js +++ b/src/api/rating/pk.js @@ -26,7 +26,7 @@ export function getParticipantList(data) { /** * pk 投票 - * @param { pkId: string, itemId: string, userId: string } data + * @param { pkId: string, itemId: string, userId?: string, count?: number } data */ export function vote(data) { return request({ diff --git a/src/views/rating/pk/list/components/PkVoteEdit.vue b/src/views/rating/pk/list/components/PkVoteEdit.vue index dd363c5..bb19e08 100644 --- a/src/views/rating/pk/list/components/PkVoteEdit.vue +++ b/src/views/rating/pk/list/components/PkVoteEdit.vue @@ -4,7 +4,14 @@ {{ targetName }} - + + + 投票用户 + 支持个数 + + + + @@ -18,6 +25,10 @@ + + + +