diff --git a/src/components/IndexList.vue b/src/components/IndexList.vue index 2dfe47e..b22e557 100644 --- a/src/components/IndexList.vue +++ b/src/components/IndexList.vue @@ -220,7 +220,7 @@ export default { this.axios.post("http://lawpro.earnest.pro/api/login_main/clickLike",{ token:localStorage.getItem("token"), type:this.type, - id:this.id, + click_id:this.id, status: 1 }).then(()=>{ if(this.islike){ diff --git a/src/components/indexFollow1.vue b/src/components/indexFollow1.vue index 84648a2..4665508 100644 --- a/src/components/indexFollow1.vue +++ b/src/components/indexFollow1.vue @@ -256,7 +256,7 @@ export default { this.axios.post("http://lawpro.earnest.pro/api/login_main/clickLike",{ token:localStorage.getItem("token"), type:1, - id:this.$route.query.id, + click_id:this.$route.query.id, status: 1 }).then(()=>{ if(this.islike){