...
|
...
|
@@ -52,12 +52,16 @@ export default { |
|
|
methods: {
|
|
|
...mapActions(['fetchNewsList']),
|
|
|
async onPullingUp() {
|
|
|
if (!this.newsDeatilList.isMoreData ) return false;
|
|
|
if (!this.newsDeatilList.isMoreData ) {
|
|
|
this.$refs.scroll.forceUpdate();
|
|
|
return false
|
|
|
};
|
|
|
let params = {
|
|
|
type: this.type,
|
|
|
isPage: false
|
|
|
}
|
|
|
await this.fetchNewsList(params);
|
|
|
this.$refs.scroll.forceUpdate();
|
|
|
}
|
|
|
},
|
|
|
components: {
|
...
|
...
|
|