umi4 打包部署后,刷新页面报404问题解决

将.umirc.ts里面加上 history: { type: 'hash' }
因为umi默认的是 type=browser