取消首页下拉刷新

This commit is contained in:
TOP糯米 2023-04-01 13:20:52 +08:00
parent b015747510
commit 2d1f0f79e0
2 changed files with 21 additions and 29 deletions

View File

@ -3,8 +3,7 @@
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "熊熊安装队",
"enablePullDownRefresh": true
"navigationBarTitleText": "熊熊安装队"
}
},
{

View File

@ -120,18 +120,6 @@ export default {
WidgetModal,
},
onLoad() {
this.initPage();
},
onShow() {},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {
this.initPage();
uni.stopPullDownRefresh();
},
methods: {
initPage() {
this.bannerList = [];
//
this.$request({
api: "index.banner",
@ -152,6 +140,11 @@ export default {
this.aftermarketServiceList = list.aftermarket;
});
},
onShow() {},
onReady() {},
onReachBottom() {},
onPullDownRefresh() {},
methods: {
/**
* 跳转
*/