fid*_*est 5 reactjs react-router
我正在尝试以编程方式更改路线。但是,只有 iphone 6 ios 10 无法使用下面的代码
import { browserHistory } from 'react-router'; browserHistory.push("/" + route);this.props.history.push('/' + route);window.location.href = route; // cannot use this though..我尝试了其中的 3 个。它适用于 iPhone 5 或 iPhone 6 ios8 的所有其他 ios 设备。
有人解决这个问题了吗?
| 归档时间: |
|
| 查看次数: |
930 次 |
| 最近记录: |