我已经隐藏了标题的borderBottom行。它可以隐藏,并且可以与以下代码一起正常工作。
但是在向后导航时会显示边界线。如何在退回导航的同时删除此信息
headerStyle: {
backgroundColor: '#fff',
borderBottomWidth: 0,
borderColor:'transparent',
elevation: 0,
shadowColor: 'transparent',
shadowOpacity: 0,
}
尝试一下:borderBottom: none!important;