diff --git a/src/IndexFind.vue b/src/IndexFind.vue index 35120d9..bb100af 100644 --- a/src/IndexFind.vue +++ b/src/IndexFind.vue @@ -151,6 +151,12 @@ mounted(){ this.getlist() } }, + beforeRouteLeave(a,b,c){ + window.$(window).scroll(() => { + + }); + c() + }, methods:{ getlist() { if (this.lock) { @@ -209,10 +215,10 @@ methods:{ getno(e){ window.console.log(e) this.no=e - this.page = 0 - this.dynamiclist = [] - this.lock = false; - this.getlist() + // this.page = 0 + // this.dynamiclist = [] + // this.lock = false; + // this.getlist() }, todetail(e, type) { window.console.log(e);