Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ient into develop
  • Loading branch information
tteia committed Nov 4, 2024
2 parents 18d1de5 + 8857d36 commit df79173
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/views/product/farm/farmListSample.vue
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,15 @@ export default {
return this.topFarmList.slice(start, end);
},
setCategory(cat) {
this.category = cat;
this.currentPage = 0;
this.isLastPage = false;
this.farmList = [];
if (cat === '전체') {
this.loadAllFarms();
this.category = '';
} else {
this.onSearch();
this.category = cat;
}
this.currentPage = 0;
this.isLastPage = false;
this.farmList = [];
this.onSearch();
},
async loadAllFarms() {
try {
Expand Down

0 comments on commit df79173

Please sign in to comment.