Closed zcwcsj closed 5 years ago
onPullDownRefresh:function(){//下拉触发 console.log("sadas") //打印不出来 },
同级的main.js export default { config: { "enablePullDownRefresh": true } }
"dependencies": { "mpvue": "^2.0.0", "vuex": "^3.0.1", "wafer2-client-sdk": "^2.1.0" },
"enablePullDownRefresh"配置放在main.json中配置或者在项目配置app.json的window项中配置。页面中事件注册onPullDownRefresh与页面的生命周期钩子函数同级
onPullDownRefresh:function(){//下拉触发 console.log("sadas") //打印不出来 },
同级的main.js export default { config: { "enablePullDownRefresh": true } }
"dependencies": { "mpvue": "^2.0.0", "vuex": "^3.0.1", "wafer2-client-sdk": "^2.1.0" },