mirror of
https://github.com/jayateertha043/goshod.git
synced 2026-07-21 20:11:02 +00:00
fixed page loading
This commit is contained in:
parent
5a025b610a
commit
4285b83496
1 changed files with 4 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ const app = new Vue({
|
||||||
},
|
},
|
||||||
nextPage(){
|
nextPage(){
|
||||||
if(this.curPage<this.maxPage){
|
if(this.curPage<this.maxPage){
|
||||||
|
this.showLoading = true;
|
||||||
|
this.host_result={matches:[]}
|
||||||
this.curPage++;
|
this.curPage++;
|
||||||
var params = new URLSearchParams();
|
var params = new URLSearchParams();
|
||||||
params.append("search",this.search);
|
params.append("search",this.search);
|
||||||
|
|
@ -153,6 +155,8 @@ const app = new Vue({
|
||||||
},
|
},
|
||||||
prevPage(){
|
prevPage(){
|
||||||
if(this.curPage>this.minPage){
|
if(this.curPage>this.minPage){
|
||||||
|
this.showLoading = true;
|
||||||
|
this.host_result={matches:[]}
|
||||||
this.curPage--;
|
this.curPage--;
|
||||||
var params = new URLSearchParams();
|
var params = new URLSearchParams();
|
||||||
params.append("search",this.search);
|
params.append("search",this.search);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue