投票增加节流
This commit is contained in:
@@ -42,6 +42,7 @@ export default {
|
|||||||
if (!this.canotVote) {
|
if (!this.canotVote) {
|
||||||
const {id} = this.$route.query
|
const {id} = this.$route.query
|
||||||
this.$http.post("/app/appvideovoteinfo/voteByVideoId", null, {
|
this.$http.post("/app/appvideovoteinfo/voteByVideoId", null, {
|
||||||
|
throttle: 1000,
|
||||||
params: {id}
|
params: {id}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user