xiamingyu

Results 6 comments of xiamingyu

使用react-navigation动态定义initialRouteName就行了,代码如下: dispatchUrl = () => { if (Platform.OS === 'web' && window.location.hash) { if (window.location.hash.split("?").length>1){ return window.location.hash.split("?")[0].replace('#/', ''); } return window.location.hash.replace('#/', ''); } else { return 'MainPage'; } };

![image](https://user-images.githubusercontent.com/10458215/27080469-9716e0d8-506e-11e7-9878-4e88aecc6a53.png)

![image](https://user-images.githubusercontent.com/10458215/27080671-88a8a8b4-506f-11e7-8cd5-20f6751f8f9e.png)

对比是不是很明显,第一张的bundle的,第二张start的,bundle导航栏的高度错乱,底部的按钮都不见了,还有里面的页面,就不给图了,bundle的text都不换行的

打补丁怎么打

![image](https://user-images.githubusercontent.com/10458215/28569961-8cb0afe0-716e-11e7-93fa-426d0eea2454.png) 目测只有这行代码有用