From 250dd7ad6e398e2e2a1ea4eea472d491add0db34 Mon Sep 17 00:00:00 2001 From: asd Date: Tue, 3 Dec 2019 16:04:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=88=E5=8D=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/IndexFind.vue | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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);