uniapp 页面无法滚动问题

//在uniapp中如果是弹窗页面跳转到下一页,上一页弹窗没有关闭的情况下就会导致下一页无法滚动,解决方法就是关闭上一页的弹窗后再跳转
this.$refs.alertDialog.close()
//先隐藏popup层
this.$refs.popup.close()
uni.navigateTo({
    
    
    url: '跳转的指定页面'
})

猜你喜欢

转载自blog.csdn.net/xiaokangna/article/details/132139639