在page .json中进行配置,但注意如果页面内容超出页面本身高度则不能用disableScroll:true;否则会导致页面无法滚动.
然而你可能也会遇到加上之后无效,则:
disableScroll的优先级小于enablePullDownRefresh,因此如果app.json里是enablePullDownRefresh:true,那如果只是在page.json中加上disableScroll:true是无效的,需要在page.json中同时加上enablePullDownRefresh:false:
{
"enablePullDownRefresh": false,
"disableScroll":true
}