守卫
This commit is contained in:
parent
dd56d2656b
commit
250dd7ad6e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user