将.umirc.ts里面加上 history: { type: 'hash' }
因为umi默认的是 type=browser
umi4 打包部署后,刷新页面报404问题解决
最新推荐文章于 2025-04-22 13:56:50 发布
将.umirc.ts里面加上 history: { type: 'hash' }
因为umi默认的是 type=browser