775083111

Results comments of 775083111

找到解决办法了 去把网络连接->使用的网卡->属性->Internet协议TCP/IP ->IPv4 修改里面的Dns 为 114.114.114.114 确定一下,但这个不是最好的办法, 改回自动还是老样子

我是这么干的: import { history } from 'umi'; useEffect(() => { let routeKey = location.pathname; if (location.pathname.endsWith('/')) { routeKey = location.pathname.substring(0, location.pathname.length - 1) history.push(routeKey) return; } }, [location.pathname]);