antdpro 打包部署后访问路由刷新后404 antdpro build 后访问路由刷新后 404? 解决方法有三种: 1. 改用 hashHistory,在 .umirc.js或者是config.js 里配 history: 'hash' 2.静态化,在 .umirc.js 里配 exportStatic: true 3.服务端配置路由 fallback 到 index.html