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 @@ + + + +