fixed page loading

This commit is contained in:
jayateertha043 2022-05-30 12:42:40 +05:30
parent 5a025b610a
commit 4285b83496

View file

@ -123,6 +123,8 @@ const app = new Vue({
},
nextPage(){
if(this.curPage<this.maxPage){
this.showLoading = true;
this.host_result={matches:[]}
this.curPage++;
var params = new URLSearchParams();
params.append("search",this.search);
@ -153,6 +155,8 @@ const app = new Vue({
},
prevPage(){
if(this.curPage>this.minPage){
this.showLoading = true;
this.host_result={matches:[]}
this.curPage--;
var params = new URLSearchParams();
params.append("search",this.search);