Link to 跳转 <Link to='/path'> {name} </Link> 编程式跳转 import {history} from 'umi' onClick = ()=>{ history.push('/path') }