Commit a7ac706f by 李嘉林

优化首页加载

parent b05d4558
......@@ -1132,6 +1132,7 @@ export default {
},
async refreshInit() {
console.log("refreshInit");
this.pageLoading = true;
this.pageData = [];
log.info('onPullDownRefresh',this.$store.state.extConfig)
app.getShopInfo(this.$store.state.extConfig);
......@@ -1217,9 +1218,14 @@ export default {
log.info(res,'-----onShareTimeline')
},
onPullDownRefresh() {
let that = this;
console.log("onPullDownRefresh");
console.log("refreshInit--------4")
this.refreshInit();
this.mpApp.pageCallBack = function (params) {
console.log("获取页面数据-3",params)
that.init(params);
};
}
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment