项目打包部署后刷新时URL多/的解决方案
项目修改config.[ts|js]
增加配置 history: { type: ‘browser’ },
删除配置 exportStatic: {},
Nginx配置更改http —> server 中修改location指令
location / {
try_files $uri $uri/ /index.html;
}
https://github.com/ant-design/ant-design-pro/issues/9781