소스 검색

Update Hashtag.vue component

Daniel Supernault 6 년 전
부모
커밋
16b93eb315
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      resources/assets/js/components/Hashtag.vue

+ 3 - 1
resources/assets/js/components/Hashtag.vue

@@ -115,7 +115,8 @@
 			getResults() {
 				axios.get('/api/v2/discover/tag', {
 					params: {
-						hashtag: this.hashtag
+						hashtag: this.hashtag,
+						page: this.page
 					}
 				}).then(res => {
 					let data = res.data;
@@ -129,6 +130,7 @@
 					//this.top = tags.slice(6, 9);
 					this.loaded = true;
 					this.following = data.follows;
+					this.page++;
 				});
 			},