Closed guopingApple closed 4 years ago
已解决。
InnerNaviBar.defaultProps.gobackImage = require('../images/xxx.png');
<NaviBar title={'关于我们'} isAbsolute={true} hasSeperatorLine={false} gobackImage={require('../../images/back-white2x.png')} style={{ title: {color: '#fff', fontSize: 42 unitWidth}, gobackImage: { width: 21 unitWidth, height: 36 * unitWidth, }, }} />
其他页面用默认的图片,部分页面需要自定义 图片 怎么修改呢? InnerNaviBar.defaultProps.style.gobackImage = {
};