diff --git a/package1/group/shopEvaluate.vue b/package1/group/shopEvaluate.vue index 9342f51..c46679c 100644 --- a/package1/group/shopEvaluate.vue +++ b/package1/group/shopEvaluate.vue @@ -240,7 +240,7 @@ console.log("11111") if (this.searchForm.pageNum >= this.total) return; this.searchForm.pageNum++; - this.getshopComments(); + this.getshopComments(this.shopItem.id); }, submit(v){ let that = this; @@ -299,6 +299,8 @@ this.searchForm.picture = 0 this.searchForm.score = 1 } + this.searchForm.pageNum = 1 + this.shopComments = [] this.getshopComments(this.shopItem.id) }, pictureAdd() {