Skip to content

Commit

Permalink
Merge pull request #273 from samtuap/fix/farmList
Browse files Browse the repository at this point in the history
fix: ๋†์žฅ ์ „์ฒด ๊ฒ€์ƒ‰ ํŽ˜์ด์ง€๋„ค์ด์…˜ ์ฒ˜๋ฆฌ
  • Loading branch information
cogns authored Nov 4, 2024
2 parents 08a9410 + 1f856e9 commit 8857d36
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 8857d36

Please sign in to comment.