|
|
@ -242,11 +242,12 @@ |
|
|
|
hdata: {}, |
|
|
|
hdata: {}, |
|
|
|
willDeleteApp: false, |
|
|
|
willDeleteApp: false, |
|
|
|
delapp: {}, |
|
|
|
delapp: {}, |
|
|
|
has_next:true, |
|
|
|
has_next:false, |
|
|
|
query:{'page':1,size:20}, |
|
|
|
query:{'page':1,size:20}, |
|
|
|
searchflag:false, |
|
|
|
searchflag:false, |
|
|
|
uploadflag:false, |
|
|
|
uploadflag:false, |
|
|
|
autoloadflag:true |
|
|
|
autoloadflag:true, |
|
|
|
|
|
|
|
firstloadflag:true, |
|
|
|
} |
|
|
|
} |
|
|
|
}, methods: { |
|
|
|
}, methods: { |
|
|
|
searchFun(){ |
|
|
|
searchFun(){ |
|
|
@ -319,6 +320,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
getapps(data => { |
|
|
|
getapps(data => { |
|
|
|
if (data.code === 1000) { |
|
|
|
if (data.code === 1000) { |
|
|
|
|
|
|
|
if(this.firstloadflag){ |
|
|
|
|
|
|
|
window.addEventListener('scroll',this.auto_load); |
|
|
|
|
|
|
|
this.firstloadflag = false |
|
|
|
|
|
|
|
} |
|
|
|
this.autoloadflag = true; |
|
|
|
this.autoloadflag = true; |
|
|
|
|
|
|
|
|
|
|
|
if(this.uploadflag){ |
|
|
|
if(this.uploadflag){ |
|
|
@ -458,11 +463,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
}, mounted() { |
|
|
|
}, mounted() { |
|
|
|
// this.$store.dispatch('dosetAh',this.getBH); |
|
|
|
|
|
|
|
window.addEventListener('scroll',this.auto_load); |
|
|
|
|
|
|
|
this.$store.dispatch('doucurrentapp', {}); |
|
|
|
this.$store.dispatch('doucurrentapp', {}); |
|
|
|
|
|
|
|
|
|
|
|
this.getappsFun({}); |
|
|
|
this.getappsFun({}); |
|
|
|
|
|
|
|
// window.addEventListener('scroll',this.auto_load); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
destroyed(){ |
|
|
|
destroyed(){ |
|
|
|